Why is Gamepad moving all Characters?

Hi there…

I got a problem with my networking. I want to move my Characters via Gamepad, too.
So… I added Gamepad support via Enhanced Input System and updated my Movement code.

The Input Action takes in WASD and the left Stick Axis (with swizzle and negation of Y). Moving only on World space axis (Diablo like)

Now… the movement works for both of my Standalone Games via Keyboard. BUT (!!!) when I try to use a Gamepad… no matter which window is focused, BOTH Characters start moving by pushing the stick. While the focus Character is turning into the movement direction… the not focused one is just moving into his current facing direction.

I have no idea why the second player is moving… and this only happens with the gamepad… not the keyboard…

Is someone knowing this problem, too?

bumping this…

Hey there @BDC_Patrick! Do you have route gamepad to second window ticked inside of your editor settings?

1 Like

Thank you very much.
didn’t know this checkbox exists in the Editor Settings :sweat_smile:

1 Like