Search Unity

Gamepad.current not working with 2 GamePads.

Discussion in 'Input System' started by anthonov, Nov 19, 2021.

  1. anthonov

    anthonov

    Joined:
    Sep 24, 2015
    Posts:
    160
    I have two gamepads as XInputController plugged and working, and Unity Editor running.
    I have a simple script that debug.log("pressed") when I press Gamepad.current.buttonNorth.wasPressedThisFrame.
    One gamepad trigger the log, the other not.
    Both gamepad are showing their respective button north input as working in the input debuger window.
    So I think there is something wrong here, but I don't know what. Any suggestion ?