Is there a way to handle re-connection in Fusion or do we have to handle it manually?


In PUN there was a straight forward method PhotonNetwork.ReconnectAndRejoin which handled the player's re-connection automatically. Is there a similar way to handle player re-connection in Fusion? If not then what could be the best way to achieve it.


  • ramonmelo

    Hi @Siddhant ,

    Currently, there is no similar API in Photon Fusion, you need to handle it manually.

    The workflow would be:

    1. If you disconnect or get disconnected, Fusion will Shutdown and invoke the OnShutdown callback;
    2. From there, you must dispose/destroy the old NetworkRunner instance;
    3. Create a new NetworkRunner, and start it again using the same Session ID used to connect the first time.


    Ramon Melo

    Photon Fusion Team