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

feita há 2 meses138 visualizações
2 Respostas
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
respondido há um mês
  • 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

respondido há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas