Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
FrancescoBrischetto's avatar
FrancescoBrischetto
Honored Guest
6 months ago

MissingReferenceException in PlaneSurface breaks hand interaction

Hi everyone,
I'm encountering a recurring issue when entering a scene using the comprehensive rig provided in the Meta XR All-in-One SDK. Occasionally, I get a MissingReferenceException related to Oculus.Interaction.Surfaces.PlaneSurface, as shown in the attached image.

This issue seems to happen randomly and causes the hand interactions to break completely — the user can no longer interact with the environment, and the only workaround is to restart the application.

Here’s what I’ve tried so far:

  • Checked if any PlaneSurface references are being destroyed prematurely.

  • Ensured that interactor components (PokeInteractor, GrabInteractor, etc.) are properly initialized and not referencing destroyed objects.

  • Tried to reproduce the issue consistently, but it appears sporadically.

It seems that some component is trying to access a PlaneSurface that has already been destroyed or is no longer valid. Has anyone encountered this before, or is there a recommended approach for safely cleaning up references during scene transitions or prefab instantiations?

Environment:

  • Unity Version: 6000.0.42f1

  • Meta XR All-in-One SDK Version: 72.0.0

Any help or suggestions would be greatly appreciated.
Thanks!



 

1 Reply

Replies have been turned off for this discussion