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
I've been trying to use OpenVR.Input.GetActionBindingInfo to get more detailed information then GetLocalisedName. But I've encountered an issue where if you have your bindings set up in SteamVR to use the same binding twice. For example, the Jump input on both controllers.
When calling the function on the Jump action it will return NullReferenceException: Object reference not set to an instance of an object. Upon removing the duplicate binding and only having one available it will return the desired behaviour.
Wondering if I'm doing something wrong or in the values to pass or if it's just the functions behaviour for it to not be able to return for duplicate bindings.
The text was updated successfully, but these errors were encountered:
I've been trying to use
OpenVR.Input.GetActionBindingInfo
to get more detailed information thenGetLocalisedName
. But I've encountered an issue where if you have your bindings set up in SteamVR to use the same binding twice. For example, the Jump input on both controllers.When calling the function on the Jump action it will return
NullReferenceException: Object reference not set to an instance of an object
. Upon removing the duplicate binding and only having one available it will return the desired behaviour.Wondering if I'm doing something wrong or in the values to pass or if it's just the functions behaviour for it to not be able to return for duplicate bindings.
The text was updated successfully, but these errors were encountered: