Matchmaking issue

0

Hi,

I periodically get the following response: { "TicketId": "2f8c034b-8993-4787-9ce2-31467e23779d", "ConfigurationName": "CaptureTheFlag", "Status": "FAILED", "StatusReason": "GAME_SESSION_ERROR", "StatusMessage": "The game session null was not found, or was in a state which wouldn't accept new player sessions.", "StartTime": 1571724557.18, "EndTime": 1571724557.312, "Players": [ { "PlayerId": "c399faa0-c17e-483a-80f6-47d886a86e7d", "PlayerAttributes": { "skill": { "N": 10.0 } }, "Team": "team1", "LatencyInMs": { "us-east-1": 50 } } ] }

Sequence to reproduce:

-create fleet -start matchmaking with 4 clients -wait for successful completion -disconnect all clients -wait for server termination [1]

-start again matchmaking with 4 clients -this time, two clients will receive the error that I described above [2]

[1] on the server side, when all clients disconnect, I execute the following code: GameLiftServerAPI.ProcessEnding(); GameLiftServerAPI.Destroy(); Application.Quit();

[2] if you wait ~20-30 minutes before the second step, there will be no error

For now, after receiving this error, I just make a second startMatchmakingRequest with a new ticketId.

Any ideas what might be causing this error?

質問済み 5年前189ビュー
2回答
0

I've asked the GameLift team to look at this.

In the meantime, GAME_SESSION_ERROR indicates that backfill requests are failing because the game session couldn't be found or was in an invalid state.

Are you performing auto backfill or calling StartMatchBackfill in this circumstance?

I would guess you are somehow terminating game sessions with active tickets.

回答済み 5年前
0

Hey Pip, after i switched to manual backfill, the error no longer appeared! I'll read more about backfill.

Thank you very much for your help!

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ