You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously I managed to get the SteamVR Input API working with an overlay application (using the Unity plugin and #336) and it was properly receiving actions from the SteamVR Input API.
However I opened up my project recently and found that it is no longer receiving actions from the input API.
Logs indicate it successfully registers with SteamVR and identifies itself with the correct id
Logs indicate it "successfully load(s) 8 actions from the action manifest"
The binding UI indicates that actions for my overlay are correctly bound to my Vive controller
However despite this, while the overlay is running in the SteamVR Unity plugin's "Input Live View" window's debugging none of the actions ever go "Active" when I press the bound buttons on the controller and my code never receives the events that were previously working when buttons are pressed.
My only guess here is that an update to the SteamVR runtime stopped handling bindings for overlays correctly. I tried switching to the beta and the issue is the same. I also tried updating the SteamVR Unity plugin and openvr api and it's still not working.
The text was updated successfully, but these errors were encountered:
It turns out this was actually the result of a race condition issue. My code handling SteamVR bindings was disabled because I was depending on the Initialize event to enable them (because things break if they are enabled before SteamVR initializes). However I guess somehow SteamVR started initializing earlier than it had been and as a result the code that adds the listener for the Initialize event was not run until after the initialize event had already been fired.
The SteamVR Unity plugin should really be using a deterministic function to let you wait for initialization, instead of using an Initialization event that is subject to race conditions.
Previously I managed to get the SteamVR Input API working with an overlay application (using the Unity plugin and #336) and it was properly receiving actions from the SteamVR Input API.
However I opened up my project recently and found that it is no longer receiving actions from the input API.
My only guess here is that an update to the SteamVR runtime stopped handling bindings for overlays correctly. I tried switching to the beta and the issue is the same. I also tried updating the SteamVR Unity plugin and openvr api and it's still not working.
The text was updated successfully, but these errors were encountered: