OnServerDisconnect bug

Hello, I experienced a bug with on server disconnect and it is called one more times than there are clients connected. So if I host with 1 other client, it will be called three times. If I host and 2 other clients join, and I press stop host, then it will be called 4 times. Do you know a fix for this? This only happens when you call the method StopHost() if there are any other clients connected.
image

Hi there,
Can you share your RTSNetworkManager code? Is this causing any bugs in your game specifically that need to be fixed?

Hello,

I also raised an issue in the mirror github as it was a consistent issue (through multiple projects too). I checked with telepathy and it works fine with telepathy as the transport (from what to guy in discord said). So I guess it is a bug with kcp transport for now.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms