- Home /
Question by
urbanizator · Apr 28, 2017 at 03:02 PM ·
networkingtimeout
Unity networking: Timeout (HLAPI)
Hello,
I'm working on a game using the High Level Network API but after a while I get a timeout error.
Logs:
Log: connection {2} has been disconnected by timeout; address {::ffff:52.28.11.218:9999}
Attempt to send to not connected connection {2}
(Filename: Line: 359)
Failed to send internal buffer channel:0 bytesToSend:8
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Send Error: WrongConnection channel:0 bytesToSend:8
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
ServerDisconnected due to error: Timeout
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
I have no idea how to debug this. I have checked, clients are (according to windows) using about 1.7kb/s for sending and 2.8kb/s for receiving. This comes mostly from a network transform on the characters. (1 per client) with a sendrate of 20. I have read the maximum is 4kb/s is this why its happening?
Is there any way for me to check why this happens?
Regards, Filip
Comment