How to reset room or remove room

Options
when i try create room but photon return error code: 32766
Photon list room can't exist the name , I sent to created room
How to I can't reset or delete, remove the room.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @nesvn030,

    Thank you for choosing Photon!

    There is no way to remove rooms from the client side.
    Rooms are automatically removed from Photon servers after they remain empty for EmptyRoomTTL milliseconds.

    If you want a room to be removed, close it so no one will join it then send a custom event to all clients to leave it for good.

    You can use JoinOrCreateRoom to try to join it if it exists and create it if not.