ValveSoftware / steamvr_unity_plugin

SteamVR Unity Plugin - Documentation at: https://valvesoftware.github.io/steamvr_unity_plugin/
BSD 3-Clause "New" or "Revised" License
1.03k stars 255 forks source link

Unity 2020 openVR_api crashes with URP #864

Open LittleMatjes opened 3 years ago

LittleMatjes commented 3 years ago

Hi Community,

since we are using URP together with SteamVR (OpenVR_API) Unity crashes at Start! The Standalone Build also.

Does anybody know anything about that? It's something with the XR plugin but how to fix it?

Thanks a lot, Greetings, Matthias

zite commented 3 years ago

Can you give me exact versions of everything? SteamVR Unity Plugin (SteamVR/readme.txt), Unity editor, if you're using Unity XR, URP package. Also the crash log would be helpful

ZdenekPecinkaSA commented 3 years ago

Hi,

I am probably having the same issue while using: Unity 2020.1.14f1 SteamVR Plugin v2.6.1 Open VR XR Plugin v1.0.1

Editor.log

ZdenekPecinkaSA commented 3 years ago

Opening Simple Sample scene included in SteamVR plugin didn't end in Unity crash but only failed to initialize SteamVR because of DllNotFoundException: XRSDKOpenVR

Full stack trace: Log.txt

ZdenekPecinkaSA commented 3 years ago

I was finally able to fix the issue.

I had to remove OpenVRAutoUpdater folder from within SteamVR folder. Than I reimported OpenVRXrPlugin (like 10 times) and now it finally works.