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

Trouble connecting NetworkManager through script.

$
0
0
Hey everyone,
When I call StartupHost() it is supposed to create a host, but the print in my function reads "hostId: -1 connectionId: 0 isReady: False channel count: 0". I would think that the hostId should be positive, but I don't know what would have gone wrong. Then when I call JoinGame the print, prints NULL. Am I missing something? I have spent the last 5-8 hours looking on the internet and have found nothing. Anything helps!

public void StartupHost()
{
SetPort();...

Trouble connecting NetworkManager through script.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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