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

Network.peerType returns "Disconnected" on both client & server?

$
0
0
I'm working on a simple 2-player co-op game with two completely different character controllers controlling a single object, so I need to spawn a different character for each player. Problem is, when I attempt to host (LAN Host) or connect as a client, Network.peerType returns "Disconnected", making it extremely difficult to figure out who is who. Player 1 has to be the server because most of the important network stuff is attached to their controller, so I set up the SpawnPlayer prefab like...

Network.peerType returns "Disconnected" on both client & server?

Viewing all articles
Browse latest Browse all 16796

Trending Articles