06-15-2023 06:32 AM
I am working with Unity version 2021.3.22f1, and my headset is a Quest 2 (v50). The Oculus Integration version I'm using is v50.
I am trying to incorporate the OVRPlayerController with the included OVRPlayerController Script and OVRCameraRig attached.
I have correctly set up my environment and already tried troubleshooting and checking for common mistaks like not enabling anchor support elements (https://communityforums.oculus.com/t5/Unity-VR-Development/OVRPlayerController-is-not-controlling-pr...)
However, whenever I hit play in Unity, I'm getting an warning that says:
[OVRPlugin] [QuerySpaces] Query by LocalGroup is not supported in this version. (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:11319)
UnityEngine.Debug:LogWarning (object)
OVRManager:OVRPluginLogCallback (OVRPlugin/LogLevel,intptr,int) (at Assets/Oculus/VR/Scripts/OVRManager.cs:1944)
OVRPlugin:QuerySpaces (OVRPlugin/SpaceQueryInfo,ulong&) (at Assets/Oculus/VR/Scripts/OVRPlugin.cs:8677)
OVRAnchor:FetchAnchors (System.Collections.Generic.IList`1<OVRAnchor>,OVRPlugin/SpaceQueryInfo) (at Assets/Oculus/VR/Scripts/OVRAnchor/OVRAnchor.cs:131)
OVRAnchor:FetchAnchorsAsync (OVRPlugin/SpaceComponentType,System.Collections.Generic.IList`1<OVRAnchor>,OVRSpace/StorageLocation,int,double) (at Assets/Oculus/VR/Scripts/OVRAnchor/OVRAnchor.cs:66)
OVRAnchor:FetchAnchorsAsync<OVRRoomLayout> (System.Collections.Generic.IList`1<OVRAnchor>,OVRSpace/StorageLocation,int,double) (at Assets/Oculus/VR/Scripts/OVRAnchor/OVRAnchor.cs:90)
OVRSceneManager:LoadSceneModel () (at Assets/Oculus/VR/Scripts/OVRSceneManager.cs:381)
OVRSceneModelLoader/<AttemptToLoadSceneModel>d__6:MoveNext () (at Assets/Oculus/VR/Scripts/OVRSceneModelLoader.cs:61)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
Immediately after, I get another warning stating:
[OVRSceneModelLoader] LoadSceneModel failed. Will try again next frame.
UnityEngine.Debug:LogWarning (object)
OVRSceneManager/Development:LogWarning (string,string) (at Assets/Oculus/VR/Scripts/OVRSceneManager.cs:303)
OVRSceneModelLoader/<AttemptToLoadSceneModel>d__6:MoveNext () (at Assets/Oculus/VR/Scripts/OVRSceneModelLoader.cs:58)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
I am unsure why this is happening. I followed this guide: https://developer.oculus.com/documentation/unity/unity-scene-overview/
Is there something I am missing or doing incorrectly? Could anyone help me troubleshoot this issue?
Thanks in advance!