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

Logspam after disconnecting a client #613

Open
cBournhonesque opened this issue Aug 30, 2024 · 1 comment
Open

Logspam after disconnecting a client #613

cBournhonesque opened this issue Aug 30, 2024 · 1 comment
Labels
A-Netcode C-Bug Something isn't working

Comments

@cBournhonesque
Copy link
Owner

After running

    mut servers: ResMut<ServerConnections>,
// ...
    let _ = servers.disconnect(*client_id);

we get spammed with logs

2024-08-30T20:53:28.729407Z ERROR send_packets: lightyear::server::networking: Error sending packets: netcode error: tried to send a packet to a client that doesn't exist

Are they really disconnected?
Why is there a logspam?
Add a unit test

@cBournhonesque cBournhonesque added C-Bug Something isn't working A-Netcode labels Aug 30, 2024
@jobobobobobo
Copy link

Running one of the examples, I found there is a similar logspam issue when a client disconnects by closing the window. Saw it on Linux and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Netcode C-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants