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

Multiple match with same name - Unity Match Maker

Discussion in 'Multiplayer' started by siddharth3322, Jul 13, 2018.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    For establishing match making service, I was using this code:
    https://docs.unity3d.com/ScriptReference/Networking.Match.NetworkMatch.html

    Everything working properly for me, except both players can able to create room with same name and become host.

    Unity Match making API not restricting them from creating match with same name because its already exist.

    So how to restrict players from creating same name match again if already exist? If same match name exist then they require to join it rather than creating their side new match.