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

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.
XR Plugin is installed and updated to the latest version (1.2.0) :
What could be the cause of those errors ? Thanks in advance for your answers.

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.

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

I needed to start the Unity project after opening up the oculus app and link, ie:
Open Oculus PC App
Connect headset
Open Unity Project

0: Turn on headset
1: Enable developer and usb-LINK
2: Open Unity project
3: Launch game

Related

Unable to start Oculus in Unity Editor

Hi everyone) I can't see the oculu's rotations in unity editor when press play button. No errors(((
Unity - 2019.4.37f1
Oculus XR Plugin - 1.12.0 (try 1.11.2)
XR Interaction Toolkit - 2.0.1
XR Plugin Management - 4.2.1
Facebook account - development settings done
Oculus - unknown sources is on, development mode is on
connect Oculus to PC via link usb 2.0
Unity Project Settings: XR Plugin Management (android tab) Oculus is on
Install apk on Oculus via Unity (build button) - works fine
What could be the cause of this problem? Thanks in advance for your answers.
I reinstalled windows, reset the helmet to factory settings, bought a new usb 3.0 cable, installed unity 2021. The cable connection is established. The cable passes the test.
I still can't see the oculu's rotations and other actions in unity editor when press play button((
maybe i need to install some kind of application on the helmet?

Developing oculus application in Unity using mrtk,no display when streaming debugging

I am creating a VR application for Oculus Quest using Unity3D.And I am trying to speed up the process using MRTK,but when streaming debugging in Unity Editor,there is no diaplay.But when I build a package whether a PC package or an apk,it runs normally.What should I set up in my project?
For Debug, you can use DebugWindow. With it, you can see the log on the hololens device.

Unity ARCore XR Plugin package initialization not completed warning after adding package, black screen on android

I'm very new to Unity, and I just followed a few youtube tutorials to try and get started with ARCore. But when I install the ARCore XR Plugin with AR Foundation from the package manager, I get a warning saying
"ARCore XR Plugin package initialization not completed. You will need to create any instances of the loaders and settings manually before you can use the intended XR Plug-in Package."
I have disabled multithreaded rendering and I'm running the APK on realme X, which supports ARCore as per the official device list. On running the basic cube AR application, the app doesn't ask for camera permissions and I'm stuck on a black screen. Is there anything I'm missing?
Unity version 2020.3.0f1 Personal,
AR Foundation 4.0.12,
ARCore XR Plugin 4.0.12
I tried these on multiple versions, only to end up with the same result.
Although the black screen can occur because of many reasons, try to go to
Player Settings -> XR Plug-in Management -> In the Android tab check "ARCore" under Plug-in Providers

Google Cardboard SDK not working in Unity 5.4.1f (Gvr Controller script not loaded)

I'm trying to use Google Cardboard SDK with Unity 5.4.1f (Free). After importing the unitypackage with SDK, I tried to run the demo scene, but I see only freezing camera. I can't look around with mouse, just static picture. And I see the errors in Console and Inspector tab. Here is the screenshot:
I tried to import different versions of Cardboard SDK and also tried Unity 5.3, but got the same errors. Please help me, I don't know what's wrong with it.
The project is likely corrupted. Make sure that the version of Unity you have is > the version used to build the Google Cardboard SDK.
If that's not the problem, close Unity, delete the current Google Cardboard SDK project and plugin. Download fresh version here.
After downloading it, import the GoogleVRForUnity.unitypackage file. This should fix your problem.
EDIT:
Things changed in the latest Google VR SDK update. The VR Demo Scenes now require VR
Technical preview to work. You can get the latest Unity version for VR here. Scroll down to the end of the page.
The latest version 5.4.2f2-GVR10.
Once you download this version of Unity UNITY_HAS_GOOGLEVR will be defined in Unity and you can now run the ControllerDemo demo.
Note:
You can run the DemoScene scene in Assets\GoogleVR\DemoScenes\HeadsetDemo directory without downloading the Unity GVR version. Right click on the Project tab then click Reimport All.
You just cannot run the ControllerDemo scene in Assets\GoogleVR\DemoScenes directory without downloading the Unity GVR version.

Unity 5.2 sudden VR crash

All of a sudden, I am getting a full blown crash whenever I run/play my project with the native VR support in Unity 5.2.0f3 and Oculus version 1.7 (SDK 0.6.0.1) which has never happened before, until today out of the blue. No change made to anything to do with VR or Oculus that might have triggered it, hence my confusion...
This is what I get on the log:
Unity Editor [version: Unity 5.2.0f3_e7947df39b5c]
OVRPlugin.dll caused an Access Violation (0xc0000005)
in module OVRPlugin.dll at 0033:eb9a3b9a.
My PC and GC:
- Windows 7
- Nvidia GTX980 Ti
Thanks in advance for your help,
I believe 5.2 requires SDK 0.7.0 for native VR support. Have you tried upgrading?
Got same error with Unity 5.3.3f1. Fixed it by changing Oculus Config Util settings as following:
Open Oculus Config Util App on windows.
Go to Tools->Service->Configure options.
Set the Debug HMD type to DK2.
might be help for new users.