Unable to start Oculus XR Plugin

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

5989997--644204--erori unity.PNG

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?

5 Likes

Hey there Bogheorghiu,

a couple of quick questions:

  • What version of XR Management are you using?
  • What version of xr.sdk.oculus are you using?
  • 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 have the same issue…

Unable to start Oculus XR Plugin.
UnityEngine.Debug:LogError(Object)
Unity.XR.Oculus.OculusLoader:Initialize() (at Library/PackageCache/com.unity.xr.oculus@1.3.4/Runtime/OculusLoader.cs:111)
UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad() (at Library/PackageCache/com.unity.xr.management@3.2.12/Runtime/XRGeneralSettings.cs:148)

It happens event when I start a new project.
I use Oculus Quest via Link.

3 Likes

Same here. 2019.4.1f1 on Windows. Oculus app installed and working.
Oculus XR Plugin = 1.3.4
XR Plugin Management = 3.2.12

Also tried some older packages versions, same error. Bummer, can’t get any VR working with the last Unity versions, neither Windows, nor macOS.

You guys need to get back in the game, several days we are stuck with all those errors in the last versions.

1 Like

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.

2 Likes

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

2 Likes

For everyone that’s experience the above, can you confirm, like @SuperPirx points out, you have your Oculus Quest set to Link mode enabled?

2 Likes

How did you install 3.2.10? I only see 3.2.12 and 3.2.13 in the package manager. I’m using 2019.4.3.f1.

Jacob

2 Likes

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

14 Likes

I have the same issue, no luck with my Oculus Rift on Windows 10 64bit:

Unity 2019.4.4f1
Oculus XR Plugin = 1.4.0 / 1.3.4
XR Plugin Management = 3.2.13 / 3.2.12

The headset works in a older project using Unity 2017.

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?

1 Like

I also get crashes with this error:

Unity Editor by Unity Technologies [version: Unity 2019.4.4f1_1f1dac67805b]

OculusXRPlugin.dll caused an Integer Divide by Zero (0xc0000094)
in module OculusXRPlugin.dll at 0033:928856cd.

XR Management Version: 3.2.13
Oculus XR Plugin Version: 1.3.4

Call Stack:

Failed to load display subsystem.
UnityEngine.Debug:LogError(Object)
Unity.XR.Oculus.OculusLoader:Initialize() (at Library/PackageCache/com.unity.xr.oculus@1.3.4/Runtime/OculusLoader.cs:116)
UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad() (at Library/PackageCache/com.unity.xr.management@3.2.13/Runtime/XRGeneralSettings.cs:148)

Running Unity 2019.4.4f1
XR Plugin Management 3.2.13
Oculus XR Plugin 1.3.4

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.

1 Like

Hi, very new but trying to do my assessment, yet i’m facing the information below and stuck now.

Running Unity 2019.3.15f1
OculusGo

XR Plugin Management, not sure the version direct from unity.

Unable to start Oculus XR Plugin.
UnityEngine.Debug:LogError(Object)
Failed to load display subsystem.
UnityEngine.Debug:LogError(Object)
Failed to load input subsystem.
UnityEngine.Debug:LogError(Object)

6110360--665267--upload_2020-7-21_2-12-53.png


6110360--665273--upload_2020-7-21_2-19-19.png

Ah, I solved this issue by actually updating the Oculus firmware from the Oculus App. :eyes:

1 Like

The resolution for me was to have my Oculus Rift connected to the same GPU as my main monitor.

2 Likes

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.

6139065–669849–UnityOculusError_EditorLogExtract.txt (4.08 KB)

Do you have a reproducible case for this?