Question by
975simpson · Dec 15, 2015 at 04:08 PM ·
c#errornetworkingnetwork
NetworkClient Send with no Connection
I am using Unity's Network manager. When the player disconnects to the server and reconnects they receive data from server but cannot send data. When the reconnected client tries to send data, they get a "NetworkClient Send with no Connection." How do I fix this?
This is the just of how I reconnect:
if (!NetworkManager.singleton.IsClientConnected())
{
NetworkManager.singleton.client.Connect(NetworkManager.singleton.networkAddress, NetworkManager.singleton.networkPort);
}
Comment