10-11-2021 10:40 PM
I have oculus integration vr 32 in unity 2021.1.16.
If I open a scene, play it with oculus link cable it works fine.
But if I open another scene, either just choosing another scene in unity or load a new scene from in the game, it starts throwing this error:
MissingReferenceException: The object of type 'OVRCameraRig' has been destroyed but you are still trying to access it.
I have an OVRCameraRig prefab in each scene (which has OVRCameraRig and OVRManager) which is oculus own prefab.
I suspect that something lingers in OVRManager when I switch scenes. How do you use the OVRManager? Do you create it in 1 scene and then mark it for "DontDelete" or is there something that must be made in OVRManager to stop this error?