3
votes

I am currently developing a 3d VR game for Oculus Quest headset on Unity (v 2019.3.6f1)

Whenever I start the game in Unity editor (by pressing "Play" button) I get the following errors :

Unable to start Oculus XR Plugin.  
Failed to load display subsystem. 
Failed to load input subsystem.

Console Screenshot

XR Plugin is installed and updated to the latest version (1.2.0) :

Project Settings Screenshot

Package Manager Screenshot

What could be the cause of those errors ? Thanks in advance for your answers.

2
Is there anything you changed in your project recently that could break it? Did you update Unity, or did you install a new plugin or anything from the asset store? Also, does it still build and can you launch it outside the editor? - Renaud Dumont
Actually, I have never been able to start the game in Unity editor (I had this bug since the beginning). Before, I built&ran directly on Oculus Quest via USB. But I don't have the headset no more, and now I need to be able to run my game on PC for development purposes. I am able to build, but I can't test launching outside the editor, because - no Oculus Quest :/ - Yeahrik

2 Answers

3
votes

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.

0
votes

Launching problem was resolved by removing Avatar object from my scenes.