- Home /
 
 
               Question by 
               siddharth3322 · Jul 28, 2014 at 10:46 AM · 
                networkphoton  
              
 
              Handle device offline status
At present I am working on multiplayer game using Photon Unity Network plugin. I don't have any problem in working of this game. But I want to detect device offline status and want to display appropriate message to the player.
For this I have implemented following methods and it gets called by the server.
     void OnFailedToConnectToPhoton()
     {
         Debug.Log("OnFailedToConnectToPhoton");
     }
 
     void OnConnectionFail()
     {
         Debug.Log("OnConnectionFail");
     }
 
               But I got following error in console that represented in following image.

How to handle condition when device not connected to internet and give appropriate message to player?
 
                 
                connection error.png 
                (9.2 kB) 
               
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Manage timer within connected players 1 Answer
Multiplayer Position Sychronization problem in unity2d 1 Answer
Help with PUN PhotonNetworkView stuff. 1 Answer
Photon - Distinguishing player types for spawns 0 Answers
A node in a childnode? 1 Answer