Hello, I have created a new input Action via the SteamVR Input window under the default action set called “Move”. I then mapped the action to the binding UI.
In a player movement script, I have created a public SteamVR_Action_Vector2 variable called move. I have assigned this variable via the editor’s dropdown selection as \actions\default\in\Move.
I have also assigned a public Hand variable as my Camera Rig’s LeftHand object.
In the update function of my player movement script, I call move.GetAxis(hand.handType) to get the axis of the touchpad.
The problem is, this error:
GetAnalogActionData error (/actions/default/in/Move): InvalidHandle handle: 1153002524869919043
UnityEngine.Debug:LogError(Object)
Valve.VR.SteamVR_Action_Vector2:UpdateValue(SteamVR_Input_Sources) (at Assets/SteamVR/Input/SteamVR_Action_Vector2.cs:49)
Valve.VR.SteamVR_Input:UpdateNonVisualActions(SteamVR_Input_Sources) (at Assets/SteamVR/Input/SteamVR_Input.cs:536)
Valve.VR.SteamVR_Input:UpdateNonVisualActions() (at Assets/SteamVR/Input/SteamVR_Input.cs:508)
Valve.VR.SteamVR_Input:Update() (at Assets/SteamVR/Input/SteamVR_Input.cs:322)
Valve.VR.SteamVR_Behaviour:Update() (at Assets/SteamVR/Scripts/SteamVR_Behaviour.cs:178)
I am thinking that there is something incomplete about the custom input action, but I do not know what.