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?
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.