Search Unity

Discovery Broadcast

Discussion in 'Multiplayer' started by lkledu, Sep 9, 2017.

  1. lkledu

    lkledu

    Joined:
    Sep 9, 2017
    Posts:
    3
    Hi, i have a script to create a host using NetworkManager.StartHost(); , my class was attached with NetworkLobbyManager.
    My problem is how to create a broadcast on the host. I try use Network Discovery, but every time i have the error NullReferenceException: Object reference not set to an instance of an object.

    I try use NetworkTransport.StartBroadcastDiscovery, but the same error happen.