Skip to content
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

The second client to connect is disconnected because a reliable message can't be delivered #123

Closed
tom-weiland opened this issue Dec 3, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@tom-weiland
Copy link
Collaborator

When connecting multiple clients (tested with the dedicated server demo and the sample FPS project) the first to connect works as expected, but the second to connect is disconnected almost immediately due to "poor connection".

This is because of an issue in the Converter.SetBits method that causes it to not properly overwrite bits in some cases, which can scramble the data in messages. This results in an incorrect sequence ID being written to the message, meaning it can't be acked properly, so the sender thinks it's not being delivered despite the receiver receiving it.

@tom-weiland tom-weiland added the Bug Something isn't working label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant