resonance-audio / resonance-audio-unity-sdk

Resonance Audio SDK for Unity
https://resonance-audio.github.io/resonance-audio/develop/unity/getting-started
Other
297 stars 38 forks source link

Breaks OpenVR/OVR in standalone windows build #33

Closed jletellier closed 6 years ago

jletellier commented 6 years ago

The plugin works perfectly in the Unity editor with or without OpenVR. However, as soon as I build a Windows x86/x64 version it prevents the HTC Vive/Oculus Rift from launching. The application will not even attempt to connect to a VR device, however the applications itself and the spatializer/ambisonics work as expected. The error logs do not show anything related to VR.

I tested the following versions:

As soon as I disable the spatializer in Unity's audio settings, the application works with all VR devices.

Am I missing something obvious here?

GaelFG commented 6 years ago

I have the exact same issue on unity 2018.1.0f2.

To reproduce :

GaelFG commented 6 years ago

Unity QA responded to the issue on unity :

I've taken a look at the mentioned plugin and the problem seems to lie that the editor includes an additional dll for the plugin as of 2018.1. A workaround for now would be to go to the build's plugin folder and delete the x86_64 folder, but I will forward this to the developers for further resolution.

The work around worked for me.

jletellier commented 6 years ago

That did the trick for me. Thank you very much!