Handling disconnect when LAN cable unplugged
dom
✭
in Photon Voice
Hi, what is the best way to shut down photon voice if you lose connection. I'm catching OnDisconnectedFromPhoton but I get socket errors and the red text in debug before OnDisconnectedFromPhoton is triggered. It works and there is no visible effect in release but I want to make sure I'm doing the right thing.
Thanks
Thanks
0
Comments
-
Hi @dom,
Thank you for choosing Photon!OnDisconnectedFromPhotonIs the proper way to handle this yes.
What Photon Voice version are you using?
What Unity version are you using?
Are you testing on Unity Editor or on devices? which devices (model, OS)?I get socket errors and the red text in debugCould you provide those logs?0