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?

posta 5 anni fa189 visualizzazioni
2 Risposte
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.

con risposta 5 anni fa
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!

con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande