- Home /
conn.Disconnect() not working
I recieve message to sever from client. I handle this message using NetworkServer.RegisterHandler There is argument with type NetworkMessage which contains parameter conn
I expect that when I write networkMessage.conn.Disconnect() the client disconnects but it doesn't happen. I absolutely sure that it is not working, because I can many times send the same message and see how server processes line Disconnect() many times without any effect.
What am I doing wrong? Server cannot disconnect clients?
Your answer
![](https://koobas.hobune.stream/wayback/20220612122406im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Detacting Collision Over Photon Network 0 Answers
Unet Instantiate 0 Answers
How can I test my network game if there's no way to run multiple game instance? 2 Answers
DontDestroyOnLoad and Photon, players not visible 1 Answer
Unity Twitch chat on WEBGL 0 Answers