Yeahrik
Yeahrik

Reputation: 71

"Unable to start Oculus XR Plugin" error when starting game in Unity

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.

Upvotes: 6

Views: 25789

Answers (5)

Sandra
Sandra

Reputation: 1

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

Upvotes: 0

Pastuh
Pastuh

Reputation: 376

0: Turn on headset

1: Enable developer and usb-LINK

2: Open Unity project

3: Launch game

Upvotes: 0

chantey
chantey

Reputation: 5827

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

Upvotes: 0

Bottleneck
Bottleneck

Reputation: 85

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.

Upvotes: 6

Yeahrik
Yeahrik

Reputation: 71

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

Upvotes: 1

Related Questions