Search Unity

let a client join a server autonomous ?

Discussion in 'Multiplayer' started by MauriceM, Jun 22, 2017.

  1. MauriceM

    MauriceM

    Joined:
    Jul 23, 2015
    Posts:
    6
    Hi there,

    I was wondering if it is Possible for a client to check the local network for possible "servers" or matches, and automatically join them, within the new Unity-Networking.

    It seems like "NetworkManager.matches" could find available Servers but I am not sure how to join them, without knowing the IP of the Server.

    Within this project, there will be always just one possible server and we want the clients to find and join it autonomously.

    I hope anyone understood my problem, I am not sure how well I described it ^^.

    A wonderful day to you,
    Maurice
     
  2. TwoTen

    TwoTen

    Joined:
    May 25, 2016
    Posts:
    1,168
    Check out Network Discovery.
    https://docs.unity3d.com/Manual/UNetDiscovery.html