Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question When does the Matchmaker deallocate?

Discussion in 'Matchmaker' started by MidnightGameDeveloper, Nov 8, 2022.

  1. MidnightGameDeveloper

    MidnightGameDeveloper

    Joined:
    Apr 26, 2014
    Posts:
    122
  2. guillaumedUnity

    guillaumedUnity

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    36
    Hi !
    Thanks for reaching out. It seems that there is a mistake in our documentation, we will work on fixing that.
    In the meantime, Matchmaker does not request deallocation of server.
    For a deallocation to happen, when the game ends simply have the game server
    exit 0
    and Multiplay will deallocate the server
     
  3. MidnightGameDeveloper

    MidnightGameDeveloper

    Joined:
    Apr 26, 2014
    Posts:
    122
    Thank you, that is how I did it. I was just curious how or if this alternative way works.
     
  4. tony040209_unity

    tony040209_unity

    Joined:
    Mar 21, 2021
    Posts:
    27
    Last edited: Dec 13, 2022
  5. guillaumedUnity

    guillaumedUnity

    Unity Technologies

    Joined:
    Apr 1, 2021
    Posts:
    36
    Hi tony040209_unity,
    The game should start as soon as the server identifies that there are enough players connected to the server