DarkRift
DarkRift copied to clipboard
Double disconnection callback
Quick Description
When DarkRiftClient.Disconnect() method is called, the client fires two disconnection callbacks (instead of one).
Explanation
The attached project includes two scenes: Server and Client. It's a simple project to test the double callbacks situation. One callback is received on the main thread (the first one) and the other arrives on a separated thread (the first has localDisconnected equal to true and the second has localDisconnected equal to false). DR2-DoubleCallback.zip
For Issues
- Conditions it occurred: Unity based server, Unity 2019.3.5f1.
- Steps to reproduce it: Open the attached project twice. Launch server scene. Launch client scene. Click on connect in the client scene. Click on disconnect in the client scene.