-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Error disconnecting clients
Strange behavior when disconnecting a client. Still tries to send an RPC despite closed connection. Using NetworkEvents autoload.
Steps to reproduce
Please see the example project:
https://github.com/AtomicSponge/netfox-debug-sponge
Run two instances and start a server with one, then join with a client on the other. After that disconnect with the client and it will start throwing errors.
Expected behavior
Clean disconnect with no errors
Observed behavior
Throws an error trying to run an RPC in _loop while disconnected.
Versions
- Godot version: 4.5 Steam multiplayer
- netfox version: 1.25.3
- Also confirmed present in the GitHub main branch.
Notes
In addition, change the lines in close_connection() to see an error that hosting was causing. To reproduce this issue just run one instance and host/disconnect/re-host.
MRE
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working