New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KCP - created with cookie #3795
Comments
To add that I've just found out that this seems to happen only when using emulator to run your app. |
Assuming these are packets from the previous connection still arriving at the server, we could check if the cookie is 0 before creating the connection @miwarnec? Mirror/Assets/Mirror/Transports/KCP/kcp2k/highlevel/KcpServer.cs Lines 311 to 347 in 9c9cc04
|
Describe the bug
Spam with "created with cookie" with different cookie numbers is coming up when client gets timeout and then returns to the game.
For example when user minimize his app on the android and then returns after timeout have occured, his connection does not drop instantly but instead spam with cookies goes on for a while before disconnect happens.
[IMPORTANT] How can we reproduce the issue, step by step:
Please tell us how to reproduce your issue, STEP BY STEP, with one of our built in examples.
Expected behavior
"created with cookie" should not be spammed so many times
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: