NextClient will not call its own OnDisconnected event if disconnection is run via FizzyTransport.Shutdown (which include voluntary disconnect) which does not call NextClient.InternalDisconnect, result in transport.OnClientDisconnected never called, result in NetworkClient.RemoveTransportHandlers never called.
This will become error elsewhere such as client will fire AddPlayerMessage multiple times, etc.
Just to cross post it here from Mirror github repo issue.
Full detail is in my comment in that issue.
Solution:
Add following line to your "FizzySteamworks\NextClient.cs" at location in this screen shot.
NextClient will not call its own
OnDisconnected
event if disconnection is run viaFizzyTransport.Shutdown
(which include voluntary disconnect) which does not callNextClient.InternalDisconnect
, result intransport.OnClientDisconnected
never called, result inNetworkClient.RemoveTransportHandlers
never called.This will become error elsewhere such as client will fire
AddPlayerMessage
multiple times, etc.Just to cross post it here from Mirror github repo issue. Full detail is in my comment in that issue.
Solution:
Add following line to your "FizzySteamworks\NextClient.cs" at location in this screen shot.