steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

DllNotFoundException: SteamVR + OpenVR Linux & MacOS

Open GabrielHare opened this issue 2 years ago • 1 comments

This issue was originally opened in the unity-xr-plugin project. However, the solution probably requires a modification of the steamvr_unity_plugin project, so I am opening an issue here.

tldr: The recommended configuration of SteamVR + OpenVR plugins works on Windows, but on macOS and Linux it floods the console with errors stating "DllNotFoundException: openvr_api" on each frame. Because of this issue that configuration is not usable on cross-platform projects. The work-around (tested on Unity2019.4.36f1) is to use the legacy configuration without the OpenVR plugin.

GabrielHare avatar Apr 11 '22 22:04 GabrielHare

Hi @GabrielHare, I am new to VR development and facing the same issue in Ubuntu 20.04.

The work-around (tested on Unity2019.4.36f1) is to use the legacy configuration without the OpenVR plugin.

Can you please explain how the above can be done? Where in Unity do I make this change?

Thanks and best regards, Milind

mgpadalkar avatar Apr 27 '23 09:04 mgpadalkar