Something like a Connection Interrupted message?

How would I make one? I know that PUN timeouts after 20 seconds, but I want to pause the player if he loses connection for a while, In case he tries to do the thing where you disconnect > shoot people > reconnect > everybody's dead.


  • You could track if you got updates from individual players. If there are none, you can assume the client is inactive.
  • How would I do that?
  • In OnPhotonSerializeView (e.g.) you can store the time when you received an update. Simply store Time.time or something.
    In Update() you can check this value against the current time.