Skip to main content
New Participant
September 26, 2025
Solved

Meta/Lit shader error with Hand Grab Block prefab in Unity 6.2 (Meta XR Interaction SDK)

When I use the Hand Grab Block prefab from the Meta XR Interaction SDK, a cube with the Meta/Lit shader is automatically included. In Unity 6.2, this shader throws repeated console errors.

The project still runs, but sometimes Unity crashes (not certain if directly related to this shader).

Unity Version

  • Unity 6.2

Meta XR SDK

  • Meta XR Interaction SDK (latest from Unity Asset Store)

Expected Result

Prefab should work without shader/material errors.

Actual Result

Console shows repeated shader errors:

Shader error: State comes from an incompatible keyword space Expected: From shader: 'Meta/Lit' Keyword count: 76 ... Actual: From shader: 'Universal Render Pipeline/Lit' Keyword count: 66 ...

- Should I replace the shader/material with URP Lit, or is there a known fix/update for this issue?

New Participant
September 29, 2025

Thank you , deleting that cube entirely and applying hand grab to that cube with URP lit solved the issue. 

As materials is read-only  in meta xr it doesn't allow to change shader so it only allows to copy and paste materials outside in separate folder where I was able to change shader.

2 replies

Meta Employee
September 26, 2025

Howdy dhiran_karki!

I'm sorry to hear that you're having trouble with the Interaction SDK and the Meta Lit shaders within the included cube, I get how frustrating that can be. This issue has been reported by other developers using Unity v6.x, and currently there is no confirmed fix. Since you're having this issue it's not a bad idea to try switching to URP Lit and see if the error still pops up. If you'd like to file a bug report or a feature request, you can do that through your MQDH dashboard.

Hope this helps!

-G

dhirankarkiAuthorAnswer
New Participant
September 29, 2025

Thank you , deleting that cube entirely and applying hand grab to that cube with URP lit solved the issue. 

As materials is read-only  in meta xr it doesn't allow to change shader so it only allows to copy and paste materials outside in separate folder where I was able to change shader.