Search Unity

[BUG] PlayerInput's Auto-Switch option causes gamepads joystick values to not reset.

Discussion in 'Input System' started by toomasio, Nov 6, 2020.

  1. toomasio

    toomasio

    Joined:
    Nov 19, 2013
    Posts:
    199
    When I enable the PlayerInput component's Auto-Switch option, I think this causes the joystick values on gamepads to get stuck above Vector2.zero sometimes. If you are using the cancel events as a remedy to zero out the input, it constantly spams the cancel event as well.

    Just a heads up to anyone getting sticky values...might need to disable "auto-switch" and also set the default scheme to your Gamepad scheme until this is fixed.