Flexmatch cannot put a player back in session

0

Hi,

I am using flexmatch in automatic backfill mode and encounters a problem in the following situation:

  • A player is put in a game session through matchmaking
  • the player leaves the session (and thus triggers a call to RemovePlayerSession)
  • the player then restarts the matchmaking process ( which triggers a call to StartMatchmaking in our backend )

I expected the player to be put back in the same game session but Flexmatch creates a new game session. Is there a way to change this behavior?

已提問 2 年前檢視次數 298 次
1 個回答
0
已接受的答案

Hi! StartMatchmaking will match backfill tickets against all tickets submitted using StartMatchmaking. It's not necessary that the same ticket will be matched to the same game session it was previously a part of. What I'd look for as part of auto-backfill is if the open spot was matched to some valid player.

If you're using managed GameLift hosting you can potentially try using CreatePlayerSession to reserve an open slot for the dropped player before backfill finds another player for the slot.

Thanks, Shashank

AWS
已回答 2 年前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南