Search Issue Tracker

Fixed in 5.4.3



Found in


Issue ID




When close Client in Standalone - Host still has client's player and disconnect error appears



Regression: this started to happen since 5.5.0a3 (not happening in 5.5.0p4 and 5.5.0a2)
- please see attached video

How we can reproduce it using the example you attached
1 Open attached project
2 Build Standalone
3 Run Host in Editor and Client in Standalone
4 When Client will be connected - just close Standalone window
Actual results: after Standalone has been closed - it's player is still shown on the Host and errors appears about Disconnect error 6 appers (errors probably correct !!!)
Expected results: When there is only Host left - only one player should be present on the scene

Comments (6)

  1. 07635fda69191f0d84647bede4673559?d=mm


    Mar 05, 2019 05:59

    When I tried to create a connection between the host and the client suddenly an error occured and after that, I cannot establish the connection. I have checked from where I got help.

  2. D480dae7cd8c25261d3e8812839b92f4?d=mm


    Oct 31, 2016 10:18

    @DEV11 That doesn't handle the client crashing or powering off. Nor does it handle the client's router crashing, pulling the network cable, etc.

    Hooking in to Application.logMessageReceived is disgusting but it does handle all cases. And it does so on the server rather than the client, which is correct.

  3. 37678fdd8403f91ff157c1c2970c5042?d=mm


    Oct 27, 2016 12:31

    Just call both this Functions :


    on any GameObject.OnApplicationQuit()

    -> The older version of Unity was more permissive / safe

  4. Bb9d187cc695b091fc0ec48f4243f17b?d=mm


    Oct 21, 2016 18:37

    FYI this bug showed up in 5.4.1 (was not present in 5.4.0).

  5. Bb9d187cc695b091fc0ec48f4243f17b?d=mm


    Oct 21, 2016 12:42

  6. 37b84f946888a5b1fa59d88c2062400b?d=mm


    Oct 17, 2016 15:22

    It mentions a severity of 3 and it says workaround is possible. What's the workaround?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.