In both 2019.3 and 2019.4, after installing the XR manager and the Oculus package and placing an XR Rig in the scene, I get this
and the headset doesn’t work in Unity.
This happens in a new scene in a new blank project, in both 3D and HDRP.
The project I need to migrate to VR is in 2019.3 so I didn’t try older versions.
The headset works in other apps.
Did anyone experience anything like this?
I’m assuming you’re running on Windows, but could you confirm that?
Looking at that screenshot, my first reaction is that potentially the xr.sdk.oculus dll’s are corrupt in your install? What happens if you uninstall/reinstall the xr.sdk.oculus package?
Additionally, can we see the callstack on the highlighted bug? That might give us further insight.
I am having the exact same error messages after converting over to the Universal RP. I have not seen these three errors in succession before.
Unity 2019.3.13f1
Oculus XR Plugin = 1.3.4
XR Plugin Management = 3.2.12
Apparently, the message is gone when I switched back on the 3.2.10 of the XR Plugin Management (but it’s strange since I’m pretty sure having already tried to switch them back to an older version a few days back). Also using the URP.
Make sure your Oculus device is working and if it’s Oculus Quest it’s in Link mode. Having Oculus app on is not enough. This fixed the issue for me (Unity 2019.4.1f1).
I found a solution that worked for me. SInce I had the oculus loader selected in both the Windows and the Android platform (under XR Management in the project settings) it must only allow one to be selected at a time.
“In XR plugin Management (Edit > Project Settings > XR Plugin Management) remove the Oculus Loader from the Plugin Providers in the Windows (PC, Mac & Linux Standalone settings) Tab. List should be empty. That fixed it for me.”
Is that the case? because that’s not the intended workflow. You should be able to have both selected. Also, as pointed out in that SO thread do you have the Oculus Integration/Avatar module loaded?
Cannot figure out why there is no Oculus Loader anywhere under the XR Plugin Management? Not under Android or the Windows settings? I tried reloading the Oculus XR Plugin with no success? I get all the exact same errors as Bogheorghiu and my headset does not work in the Unity editor. Oculus Link is enabled.
This has hit me for the past few weeks and I’m running out of ideas.
Unity 2019.4.5f1
Oculus Quest firmware at v19.0.0.341.531, Oculus App v19.0.0.364.531
Quest plugged in and Link is active. Clicking Play in the Editor used to work, but since upgrading from 2019.2 I have been unable to run in the editor, and I can’t produce a working build for the Quest (app just opens a black screen and I can’t do anything, I’m hoping it’s a simple fix but I can’t test in the editor, so I can’t debug at all).
From my manifest.json:
“com.unity.xr.management”: “3.2.13”,
“com.unity.xr.oculus”: “1.3.4”,
I set XR Plugin Management to use the Oculus plugin, and to initialize on startup in both Standalone and in Android modes. I tried running with only one box checked, no difference. I tried using oculus version 1.4.0, same error.
I have the Oculus assets from the asset store in the project, and I updated that bundle just a couple of days ago. I’m now trying to get a simple blank scene to work and I can’t get past these errors.
Attached an extract of my most recent editor session highlighting the errors… I really hope there’s a simple fix for this.