Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Matchmaker - Can players be rematched into a game they were in before?

Discussion in 'Matchmaker' started by RyanALandmark, Jun 29, 2023.

  1. RyanALandmark

    RyanALandmark

    Joined:
    Aug 22, 2022
    Posts:
    2
    I am currently prototyping a game using Netcode for GO, Game Server Hosting and Matchmaker. Currently I have all these systems working nicely together, and have set it up so that when a game is started, backfill is used to allow players to continue joining the game while it is running. This all works fine.

    The issue I have is that once a player has been matched into a game, joins it, and then leaves it, they can no longer get matched back into that same game. I am removing the player from the backfill ticket when they disconnect, but this still doesn't seem to allow this. In the case where I am only allowing 1 server to be active at a time, after a player has left the running game, matchmaking then fails for them when they use it again, presumably because they are not being matched into that previous game, and matchmaker cannot allocate any more servers. Other players however can still join that running game.

    Is this just a limitation of matchmaker? Or is there something I'm not doing to allow players to be rematched into a previous game?
     
  2. lucy-unity

    lucy-unity

    Unity Technologies

    Joined:
    Apr 7, 2021
    Posts:
    18
    There shouldn't be anything stopping a player that left a server from rejoining the same server through matchmaker.

    If you have any ticket IDs or backfill ticket IDs you could provide, I'd be happy to look into it for you.