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.
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.