ValveSoftware / unity-xr-plugin

OpenVR plugin for Unity's XR API
BSD 3-Clause "New" or "Revised" License
307 stars 64 forks source link

Error code: Init_PathRegistryNotFound #61

Open dnqbob opened 3 years ago

dnqbob commented 3 years ago

Unity Editor

Unity 2020.1.10f1c1

Operations

  1. Open a new 3D project

  2. Follow the steps that:

    Installation:

Download the unitypackage installer: https://github.com/ValveSoftware/unity-xr-plugin/releases/tag/installer

Open your unity project and then open/import the unitypackage

step2

Open the XR Management UI (Edit Menu -> Project Settings -> XR Plugin Management)

Click the checkbox next to OpenVR Loader

step3
  1. Run project in editor, get the error bug

Should I do anything else or I just missed something?

dyfios commented 3 years ago

Experiencing same issue.

zite commented 3 years ago

Do you have SteamVR installed?

dnqbob commented 3 years ago

Do you have SteamVR installed?

For me:

Problem updated, "Init_PathRegistryNotFound" is gone but the "IPC_connection" is here now.

I saw your comment, then tried Steam + SteamVR + Windows Mixed Reality for SteamVR.

I just find when I use the SteamVR-in-beta plugin in Unity, I get the "IPC_connection" failed. SteamVR throw "301 fatal error", and its window like:

1

It is weird that Windows Mixed Reality is working smoothly all the time.

Sorry for the trouble shooting request again.

dnqbob commented 3 years ago

hardware: HMD Odyssey

zite commented 3 years ago

Did you install the "Windows Mixed Reality for SteamVR" drivers off steam? https://store.steampowered.com/app/719950/

dnqbob commented 3 years ago

I saw your comment, then tried Steam + SteamVR + Windows Mixed Reality for SteamVR.

I installed the "Windows Mixed Reality for SteamVR", what do you mean by "drivers Off steam"? Does that means I should use "Windows Mixed Reality for SteamVR" to install the drivers for VR headset instead of "Windows Mixed Reality"?

zite commented 3 years ago

Sorry I was not clear. The "Windows Mixed Reality for SteamVR" is software that does translation between SteamVR and Windows Mixed Reality. We commonly refer to them as drivers.

It sounds like you did install the software from that link. Have you tried starting SteamVR since then?

dnqbob commented 3 years ago

Tried several time.

It is convenient that when I compile my test VR project the SteamVR jumps out automatically but there is always "301 fatal error", and the scene is always black.

I also tried the ways to solve 301 error upon suggestions of steam support: shut down all suspected conflicted software like antivirus and WIFI, from restart SteamVR to computer system, and reinstall the entire Steam. All seemed useless.

zite commented 3 years ago

Can you post a SteamVR System Report? image

dnqbob commented 3 years ago

SteamVR-2020-10-30-PM_02_54_191.zip

Translate some lines. It seems it doesn't find any driver?

zite commented 3 years ago

Unfortunately I don't see anything obvious. It does look like it sees the driver, but doesn't detect a headset for some reason. You might try posting in the Windows Mixed Reality for SteamVR forums. Microsoft may have better luck helping in this case.

https://steamcommunity.com/app/719950/discussions/0/

dnqbob commented 3 years ago

@zite I think it is because of this?

1