How to handle Client Timeout
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
How to handle Client Timeout
Fiercy
2017-07-19 15:53:10
Hello,
I working on a card game and I am wondering what should I do when the user put's the app in the background. Currently, after 15 seconds it will send a timeout message and no longer be connected to the room.
What should I do in this case?
Should use I OnDisconnectedFromPhoton() to reconnect?. Is there any examples online on how to handle this. I am not sure how to sync clients back after a timeout.
Comments
Hi @Fiercy,
Thank you for choosing Photon!
Read more about this known issue here.
Back to top