The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

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.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

internet connection availability

2016-05-04 11:18:04

@Tobias , @vadim

when i started game than i have already internet available but in between my connection is lost so i want to give message to player so he /she can understand that due to lack of internet he/she has left the room or stuck in his/her app.

When i have displayer connection message it prints there "peer created" but it only check when it need i want that if user disconnects than direct notify that slow connection or you have lost internet connection. or if user connects with in some sort amount of time like 2 or 3 seconds and player should be joined previous game which he is playing if room is exists.

Help me to solve this how to reconnect player in real time game if user disconnects for 2 or 3 seconds.

Thank you.


2016-05-13 06:43:07


You need to handle OnDisconnectedFromPhoton message. You can start new connection as soon as this message fired.

2016-11-18 12:10:14


check this

it has a simple solution for watching loss of connectivity.



Back to top