o3de / o3de-multiplayersample

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

Connecting to GameLift Using Json Menu Ui Creates 2nd Player Session #431

Closed AMZN-Gene closed 1 year ago

AMZN-Gene commented 1 year ago

Connecting the GameLift via the GameLiftConnectJsonMenu level will cause a 2nd player-session to get created

Steps to reproduce Steps to reproduce the behavior:

  1. Run a server on GameLift and connect a client (follow the instructions here if needed https://github.com/o3de/o3de-multiplayersample/blob/development/MPSGameLift/Documentation/GameLift.md)
  2. After connecting open the GameLift dashboard > Fleets > Game Sessions > Player Sessions

Expected behavior Game session contains 1 player session. The developer has already created the player session, the game should use that one and not create another.

Actual behavior The game generates and uses a 2nd player session Notice the 2nd player-session is using the 1st player-session's id as the player id

image

Found in Branch development June 08 2023