Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requireHmd is false but still Could not initialize OpenVR: Error code: Init_HmdNotFound #111

Open
crdanfitz opened this issue Jan 7, 2022 · 1 comment

Comments

@crdanfitz
Copy link

I am trying to use the SteamVR plugin for Unity without an HMD or controllers, but with a Tracker (2018).
image

I imported the camera rig but disabled the Camera and controllers. I then added an empty GameObject with Steam VR_Tracker Object script attached. See setup below.
image
When running in the editor, I get an OpenVR error:

[OpenVR] Could not initialize OpenVR. Error code: Init_HmdNotFound
UnityEngine.Debug:LogError (object)
Unity.XR.OpenVR.OpenVRLoader:Initialize () (at Library/PackageCache/com.valvesoftware.unity.openvr@411bd1ecffdc-1614121125000/Runtime/OpenVRLoader.cs:195)
UnityEngine.XR.Management.XRGeneralSettings:AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/[email protected]/Runtime/XRGeneralSettings.cs:148)

I set requireHMD to false in Steam\config\steamvr.vrsettings so I was hoping it would continue when it failed to find an HMD.

System:
Unity Editor 2021.1.12f1
SteamVR: 1.21.4 beta
SteamVR plugin: 2.7.3 (sdk 1.14.15)
OpenXC Plugin: 1.2.8
Windows 10 Pro 64bit, 16GB memory, Nvidia Quadro M3000M

@JonOlive
Copy link

JonOlive commented Oct 7, 2023

In my case Unity Editor (2021.3.18f1) immediately crashes on play if steam vr is not already open and at least one tracker visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants