Empty Room

Options

My problem is like that :

I have create a room with 20 users some time when I disconnected "while there is too many users inside the room" and re enter the same room I found it empty "that's mean I found my self alone" . what is the reason and how can I solve that ?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options

    Hi @Tamim_Zoabi,

    Could you clarify a bit further, the issue is still not clear.

    Could you share the error log from Photon or what callbacks were triggered?

    20 users? does your app has a paid plan or it's 20 free CCU only? maybe that's related?

  • It a free CCU and there is no error just I think when its dissconnected and re connected its enter the same room name but an empty room and other players still in the first room .

    Thats not happened usually . but I need to know the reason .

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options

    Make sure you are joining the exact same room.

    By the way, how do you rejoin the room?

    When you reconnect make sure you are on the same region (servers) and use the same AppId / AppVersion. How do you reconnect?

    Why don't you use PhotonNetwork.ReconnectAndRejoin();?

    there is no error just I think when its dissconnected

    Implement OnDisconnected callback and other failure callbacks (for room join failure, random join failure, etc.) to get errors.