When I call NetworkDiscovery.StartAsServer() or NetworkDiscovery.StartAsClient(), I get this error:
NullReferenceException: topology is not defined
UnityEngine.Networking.NetworkTransport.AddHost
There is nothing on Google about this error, which I find really strange. The NetworkTransport script isn’t open source like the HLAPI stuff, so I’m not even sure how to begin debugging it. I just call NetworkDiscovery.StartAsServer() on the click of a button, but it never gets farther than that.
If it helps, I noticed that during play mode the NetworkDiscovery component has a “-1” as it’s hostID.