GameLift MatchMaking time very long (Unreal Engine)

0

Hello AWS devs,

I am starting a matchmaking request (using the StartMatchmaking function) from a client. This triggers a game session to start; in my game mode (server side), I call ActivateGameSession. From the time ActivateGameSession is called, to the time a client is added to the game session, it takes more than 20 seconds:

Server logs:

[2024.03.01-15.12.17:583][878]LogBlueprintUserMessages: [GameModeBP_C_2147482329] Game Activation Succeeded [2024.03.01-15.12.38:317][437]LogNet: AddClientConnection: Added client connection:

Nothing additional is happening on the client side, and it appears to be a GameLift processing issue. Why is this happening?

Useful info: Unreal Engine 5.2 SDK 5.1.0

asked 2 months ago133 views
2 Answers
0

Hi,

After the game session is activated, there're a few ways you can get the connection information from GameLift, for example from the SNS event (either FlexMatch event or Game session placement events), or you might be actively calling APIs like calling DescribeGameSessionPlacement.

After you get the connection info, you should have passed the info to the game client, and game client will try to connect to the server using the connection info.

Depending on which approach you are taking, this unexpected delay might have happened in all possible steps: there might be a delay between GameSession activation and GameLift emitting SNS event, or between your backend service receiving the connection info and sending the info to the client, or between the client receiving the connection info and making the connection. Can you verify which step is having the unexpected delay? If the 20 seconds delay happens within the GameLift service (e.g. if it happens between GameSession activation and SNS event being emitted), please contact AWS support so we can help investigate the issue.

AWS
fzehao
answered 14 days ago
  • Thanks. Please see my response below.

0

Thanks for the response @fzehao. It seems that the delay is caused by the GameLift service (time between GameSession activation and SNS event). However, I cannot seem to contact technical support (as you need an upgraded account to submit a case). Are you capable of communicating this issue with AWS?

Enter image description here

answered 14 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions