I’ve hooked up the gamepad’s joystick and directional pad to an InputAction that sends a Vector2 value.
In PlayerInput, that input action sends a unity event with the InputAction.CallbackContext
I have a listener to that event that reads a Vector2 value from the InputAction.CallbackContext
And it mostly works, except as soon as I let go it spams the console with “Control index is out of range”, referencing the line where I read the Vector2 from the nputAction.CallbackContext.
I’ve tried checking the valueType to ensure it’s a vector2, and it is.