The question is answered, right answer was accepted
SteamVR Beta Input Action Issue
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.
Answer by Mahdniss · Sep 14, 2018 at 02:50 AM
This was a misleading issue. I think during testing I created the wrong type of binding, and assigned it to "Touch" on the touchpad. I then created a Vector2 binding of the same name. The UI reported the binding was assigned to Touch, but the error would occur. After renaming the binding, and looking through the UI, I found that the Vector2 type must be bound to Position, and did not show up as an option under Touch.
Follow this Question
Related Questions
New Input System only sometimes registering release of key 0 Answers
SteamVR 2.2 How to set custom input bindings without having a headset connected? 0 Answers
I there a way to record player input and play it back once the game has stopped? 2 Answers
How to disable Vive Controllers 5.5 support 1 Answer
(XR Input) Why does Oculus Rift work fine, but HTC Vive inputs stays at 0 ? 0 Answers