6

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.

Renaud Dumont
  • 1,776
  • 13
  • 24
Yeahrik
  • 71
  • 1
  • 1
  • 6
  • 1
    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 Mar 23 '20 at 15:58
  • 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 Mar 24 '20 at 10:40

5 Answers5

6

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.

Ludo
  • 743
  • 1
  • 10
  • 25
Bottleneck
  • 85
  • 7
1

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

Yeahrik
  • 71
  • 1
  • 1
  • 6
  • For me there are no Oculus folder or any avatar in the scene on in the assets, and it's not working. Are your sure there is nothing else you have done? – Rato Zumbi Mar 25 '20 at 11:44
  • @Rato Zumbi my problem was in Avatar object in scene, which came from Oculus Integration for Unity package. (this package creates Assets/Oculus folder) – Yeahrik Mar 30 '20 at 12:06
  • Yeah, I had the same problem. I deleted the Assets/Oculus folder and everything is OK :) – Lukáš Kmoch Dec 09 '21 at 23:54
0

I needed to start the Unity project after opening up the oculus app and link, ie:

  1. Open Oculus PC App
  2. Connect headset
  3. Open Unity Project
chantey
  • 4,252
  • 1
  • 35
  • 40
0

0: Turn on headset

1: Enable developer and usb-LINK

2: Open Unity project

3: Launch game

Pastuh
  • 376
  • 2
  • 12
0

I get something similar just after try MixedReality on my computer. The issue was that I change the default OpenXR runtime. I was able to revert it going to the Oculus app on my PC. Settings --> General --> OpenXR Runtime --> Set Oculus As Active

I hope this can help someone

avariant
  • 2,234
  • 5
  • 25
  • 33
Sandra
  • 1