Hey all,
I recently upgraded my project to version 5.6, so far everything works well expect for one thing. Everytime a client disconnects from the host / server, the client object freezes for around 2/3 seconds before destroying itself on the server / other clients. Which goes along with these three errors:
I’m using the NetworkManager.singleton.StopHost(); function for disconnecting. Already tried stopclient, etc but thats doesnt resolve it sadly.
Anyone knows how to prevent this from happening?
Tried disabling every component which uses network features (except for the networkidentity) on my player when they hit the disconnect button, at first it worked. Restarted unity same issue occurred again…
Tried calling networkclient.disconnect a few frames before calling stopHost. No improvement, same thing keeps happening. Probably my only option so far is to wait for a patch which hopefully does fix this issue. Or that someone finds a way to avoid this issue. Which is actually a bit of a shame because I was planning to release this asset in the next few days.