Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Network Discovery, How to use without a Network Manager

$
0
0
Hi,

Trying to use network discovery without a network manager and I'm running into a few issues. What do I need to intitialize on the server and client end before I start discovery? I seem to run into errors either with CRC mismatching or "NetworkDiscovery StartAsClient - addHost failed". Code is below:

Code (CSharp):
  1. public class MyNetworkManager : Singleton<MyNetworkManager>
  2. {
  3.  
  4.     public bool isAtStartup = true;
  5.  
  6.     NetworkClient myClient;
  7.  
  8.     [SerializeField]
  9.     NetworkDiscovery...
Network Discovery, How to use without a Network Manager

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>