Unity Script Reference:
NetworkDisconnection.LostConnection
Description

The connection to the system has been lost, no reliable packets could be delivered.