How to prevent disconnection due to timeout?

Options
azfar84
edited August 2012 in Photon Server
I am connecting to Photon Lite instance using the Unity client. Although I am calling peer.Service() in the Update() method of Unity client, I still get a disconnection due to timeout on server side after a period of 30s.

Comments

  • dreamora
    Options
    To prevent the disconnection, simply stop to timeout.
    there is no alternative to that, if you don't talk to the server, it drops ya as it assumes that you are gone.

    Potentially you forgot to tick 'run in background' and focused a different app in which case update etc are no longer called.