You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
if( Connected )
InternalDisconnect( );
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: