#Client Transport Disconnect Warning Spammed to Log

5 messages · Page 1 of 1 (latest)

merry river
#

I'm coding some basic disconnect logic to handle when a client connection to a server times out. In my NetworkManager, I detect the disconnect in OnClientError() and run StopClient(). All of that works great. The problem I have is that the transport doesn't get the memo and spams the message below to the log. How can I stop this from happening?

Client Transport Error: Timeout: kcp2k.KcpClient: Connection timed out after not receiving any message for 10000ms. Disconnecting.. This is fine.

merry river
#

To connect to the server, I run NetworkManager.singleton.StartClient(); on the client after setting the address, port, and authentication parameters in the NetworkManager, the KcpTransport, and my NetworkAuthenticator respectively.

junior seal
#

@pale pelican ^

merry river
#

Any ideas?

pale pelican
#

fixed on lastest github version!