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);
}
↧