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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则