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 256 forks source link

Issues with plugin in Linux: "DllNotfoundException: XRSDKOpenVR" #943

Open CarlMeme opened 3 years ago

CarlMeme commented 3 years ago

My system specs are: Ubuntu 20.04.2 LTS Nvidia GTX 1080 using the 460 driver Unity 2020.3.2f1 Vive Pro Eye

I have installed the plugin as per the instructions from this guide: https://valvesoftware.github.io/steamvr_unity_plugin/articles/Quickstart.html When playing the sample scene as the guide suggests nothing is showing in the VR headset and I get the following output to the console: image

I have tested the same setup with the same guide on a Windows installation and have no problems there, so it seems to be a Linux problem.

I have also tested that the VR headset works in Linux with SteamVR and have no issues there.

Is there something I am missing or doing wrong when using the plugin in Linux?

zite commented 3 years ago

odd, that should work. I'll take a look at it and get back to you

CarlMeme commented 3 years ago

Hi again, I have tried with some different Unity releases and still get the same error. The DLL file it is complaining about is there, but I lack knowledge to begin debugging it. Have you been able to replicate the problem?

happysmash27 commented 3 years ago

I also have this issue, when setting it up as a VR project and when importing it without the VR template. Anyone find any solutions yet?

ykim104 commented 3 years ago

I have the same issue. Works with 2019 but not 2020.3.13f1

ZhuoyunZhong commented 2 years ago

same here

Dessix commented 2 years ago

This is still causing me problems in 2022.1b with the official XR Plugin system and Valve's OpenVR XR loader; symlinking libXRSDKOpenVr.so and libopenvr_api.so to ${PROJECT_ROOT}/lib/x64/ alleviates it, but this comes from PackageCache and thus needs redone across dev machines and can't be checked into source control. I can't seem to get the same result with any edits to the asmdefs.

Enovale commented 2 years ago

The solution by @Dessix works for me as well, would love this to be resolved officially by Unity or Valve or whoever's end is causing the issue here.

Lizband commented 1 year ago

@Dessix How can I go about doing that? By project root do you mean the root of the unity project, because I don't see the /lib/x64 directory?