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

질문됨 2달 전138회 조회
2개 답변
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
답변함 25일 전
  • 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

답변함 25일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠