o3de / o3de-multiplayersample

Multiplayer sample project for the Open 3D Engine
https://o3de.org
Other
84 stars 61 forks source link

MultiplayerSample GameLauncher fails to recognize inputs during the game #467

Closed LB-MateuszSzweda closed 2 months ago

LB-MateuszSzweda commented 1 year ago

Describe the bug Clients launched via built MultiplayerSample.GameLauncher fail to recognize keyboard, mouse, and gamepad inputs during the game match.

The issue was observed for all MultiplayerSample project levels with controllable inputs such as NewStarbase and Gameplaytest levels. The only time GameLauncher client was able to recognize input was in StartMenu level.

Please note that inputs in Editor client and MultiplayerSample.ServerLauncher were recognized correctly and that this issue occurs only on Windows.

For further information please refer to the attached video file and logs.

Steps to reproduce

  1. Build a Source O3DE Engine.
  2. Build MultiplayerSample project following https://github.com/o3de/o3de-multiplayersample/blob/development/README.md instruction (specific steps were Step 1/Option 1 -> Step 2 -> Step 3/Option 2).
  3. Process assets for the MultiplayerSample project.
  4. Launch the game server with _MultiplayerSample.ServerLauncher.exe --console-command-file=launchserver.cfg command.
  5. Launch the client with _MultiplayerSample.GameLauncher.exe --console-command-file=launchclient.cfg command.
  6. Try to move the player controller of the launched client with keyboard and mouse.

Expected behavior Player controller of the launched MultiplayerSample.GameLauncher client can be controlled with keyboard and mouse inputs.

Actual behavior Player controller of the launched MultiplayerSample.GameLauncher client does not react to keyboard and mouse inputs during the match.

Screenshots/Video

https://github.com/o3de/o3de-multiplayersample/assets/86953456/4ebb06db-4962-42a0-a7f3-227c8154543c

Found in Branch Stabilization/2310

Commit ID from o3de/o3de-multiplayersample Repository a0654e0

Desktop/Device:

Additional context Server.log Game.log

LB-MateuszSzweda commented 1 year ago

I'm unable to modify the labels, but the issue should be considered as Critical

LB-ArturZieba commented 1 year ago

I also observed this issue on Ubuntu 22.04.3 with following branches used in the setup:

AMZN-Gene commented 2 months ago

I cannot repo this issue. Closing for now... feel free to reopen if mouse/keyboard input still doesn't work.