ValveSoftware / unity-xr-plugin

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

SteamVR Actions not working in build. #34

Closed hass101 closed 3 years ago

hass101 commented 3 years ago

Hi, I am using Unity 2019.4.8f1 and I have this plugin installed alongside the b4 version of the SteamVR plugin. I have behaviour pose scripts attached to my controllers and the bindings are working correctly inside the editor. However when I build the application for Windows, the actions including the pose do not work.

zite commented 3 years ago

We did a full release recently, probably best to give that a try. Delete the SteamVR directory from your assets folder and install the plugin from the unity asset store.

hass101 commented 3 years ago

Hi, thanks I was originally having issues with that version, where if the controller was turned on after the app had started, then the input wasn't working at all and that's why I switched. However I have created a blank project, built one of the demo scenes and it appears to be working correctly. This means that there must be something wrong with my project, of which I was updating, so I will have another go at getting it to work. thanks

hass101 commented 3 years ago

Hi, I ended up removing the XR plugin management, this plugin and all of the SteamVR related folders. I then enabled the deprecated virtual reality settings and reimported the SteamVR plugin, of which then installed the OpenVR Desktop package. Everything is working now so I will just hold off from using the XR plugin management until a final release of the OpenXR plugin is released. thanks