Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.13.0

Issue ID

ISXB-1418

Regression

No

New Input System does not respect Multiplayer ownership when using a Gamepad

Package: Input System

-

Reproduction steps:
1. Make sure a Gamepad is available for testing
2. Open the attached "IN-92249.zip" project
3. Open the "NGO_Setup" Scene (Assets > NGO_Minimal_Setup > NGO_Setup)
4. Open the "Multiplayer Player Mode" Window (Window > Multiplayer > Multiplayer Play mode)
5. Enable "Player 2" Virtual Player
6. Enter the Play mode
7. Click "Start Host" in one of the Game view
8. Click "Start Client" in the other Game view
9. Move with WASD keys in one of the Game view
10. Observe how only the one player moves
11. Move with a Controller left stick
12. Observe the Game view

Expected result: Only one of the players move
Actual result: Both players move

Reproducible with: 1.7.0 (6000.0.38f1, 6000.1.0b6, 6000.2.0a3), 1.13.0 (6000.0.38f1, 6000.1.0b6, 6000.2.0a3)
Couldn't test with: 2022.3.58f1 ("Multiplayer Play mode" package is not supported)

Reproducible on: Windows 11
Not reproducible on: no other environment tested

Notes:
- Does not reproduce when "Active Input Handling" is set to "Input Manager (Old)"
- Tested with DualShock 4 Gamepad

  1. Resolution Note:

    We closed this by design, as there might be functionality to fix this problem

    To make the steps mentioned work as expected, one needs to select Input System package setting in Project Settings > Input System Package > Settings > Editor > Play Mode Input Behavior: All Devices Respect Game View Focus. Otherwise, Gamepad Input is processed in the background by both GameView instances. With the default setting, Keyboard and Mouse are processed only when Game View is in focus.

    Please let us know if this doesn't fix your issue so that we need to reassess the issue. So far, from my testing, this was enough to make it work as you would expect (e.g. once you have a window focused, the gamepad will control only control the player bound to that particular window)

Add comment

Log in to post comment