Hi there,
Here is my problem: When I connect to the server the first time after the server is set up, everything is fine. But when I disconnect and connect again to the server the client receives two errors:
- View ID AllocatedID: 150 not found during lookup. Strange behaviour may occur
- Could't invoke RPC function 'AnimateEveryWhere' because the networkView 'AllocatedID: 150' doesn't exist
When the player I clean it up by:
void OnPlayerDisconnected(NetworkPlayer networkPlayer){
print ("Cleaning up after disconnect");
Network.DestroyPlayerObjects(networkPlayer);
Network.RemoveRPCs(networkPlayer);
}
Does anyone know the solution for this? Any help is appreciated!
↧