-
-
Notifications
You must be signed in to change notification settings - Fork 778
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 handles first connection wrong on il2cpp release build #2900
Comments
I'm a bit lost on where to start debugging this tbh, i tried valgrinding, but there's too much spam about using uninitialized values in general its pointless to check if it's doing something weird |
Broken on Windows too Describe the bug [IMPORTANT] How can we reproduce the issue, step by step:
Note that console shows Expected behavior Desktop (please complete the following information):
Headless Server Console Output for single client
|
Tested with @MrGadget1024 in discord, you can fix this by turning off "NonAlloc" in the KCP settings in the transport component. |
can you guys try to and see if that works automatically then - with nonalloc being enabled by default still |
sure - where should that be inserted? |
I'm working with:
And getting the same error. Wanted to add a report because in my case, turning off non-alloc does not resolve the issue. I'm using the "dual editor" hack (two projects with symlinked Assets/ and ProjectSettings/) which is where the logs come from, but I also tried with a built standalone server. Telepathy does work for me in this case and I have no custom messages which would be firing (everything is [Command] and [SyncVar] at this point) |
@pixelpax looks like you've also made Network Manager a child of something in the scene...it has to be at scene root or turn off Dont Detroy On Load (DDOL) in network manager. Either that or you've some other object that's a child of something else trying to invoke DDOL. |
fixed by #3030 |
Hello, I am getting something similar with a server running on linux. I don't how it affects the users, I just checked the logs and it happens from time to time, usually in bursts. One burst happened for 17 seconds, flooding the log with this. I don't know the frequency though, I only had timestamps for my own logs.
Unity 20.3.41f Edit: attached log file. Edit2: @MrGadget1024 Can you please verify that is my issue related? |
Edit by MrG: As discovered by cooper (see comment below): turning off NonAlloc in KCP Transport inspector avoids this bug.
Edit by MrG: Happens on windows server builds too. See comment below.
Describe the bug
When attempting to connect to a linux server built with il2cpp "release" using the kcp transport the first connection attempt is not handled correctly and fails
How can we reproduce the issue, step by step:
Expected behavior
Client connects
Screenshots
2021-09-01_13-17-00_6z5avsWfQz.mp4
here's a video of the issue
Desktop (please complete the following information):
Additional context
Works fine on mono and windows il2cpp does not seem to have the issue.
il2cpp on "debug" mode seems to work fine, just release &
The text was updated successfully, but these errors were encountered: