Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Scene based matchmaking possible?

Discussion in 'Matchmaker' started by dnnkeeper, May 20, 2023.

  1. dnnkeeper


    Jul 7, 2013
    I need to connect players with the same scene to the same server or allocate a new one if there is none.
    Do I need to implement custom matchmaking for this? Any suggestions?
  2. jackward84


    Jan 26, 2017
    I'm new to this but will give it a shot: you could infer what kind of scene it should be from the queue name or some properties on the ticket. If using properties then you would need some kind of rule match.

    When the server is allocated (in the OnAllocation callback), you can then set the scene and have players load into it when they join, along with whatever other necessary setup you have for the particular queue/mode.