Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Unity Multiplayer Multiple match with same name - Unity Match Maker

Discussion in 'Connected Games' started by siddharth3322, Jul 13, 2018.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    536
    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.