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

Using a MultiplayerSynchronizer while disconnecting an ENetMultiplayerPeer logs error "Unable to send packet on channel 1, max channels: 0" #86814

Open
BatteryAcid opened this issue Jan 5, 2024 · 0 comments

Comments

@BatteryAcid
Copy link

Tested versions

Reproducible in v4.2.stable.official [46dc277]

System information

macOS Ventura 13.3.1 M1 Max

Issue description

When disconnecting a client peer from the server peer, while using a MultiplayerSynchronizer, it logs the following error:

Screenshot 2024-01-04 at 7 58 42 PM

This issue was referenced in another bug report here:
godotengine/godot-proposals#3459 (comment)

Steps to reproduce

  1. Create a server and client ENetMultiplayerPeer
  2. Create a MultiplayerSynchronizer with at least one synchronized property
  3. Disconnect one of the peers (clients) on the server peer: server_peer.disconnect_peer(peer_id)
  4. This error above is logged.

Minimal reproduction project (MRP)

unable-send-packet-recreate.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants