How to reset room or remove room
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
How to reset room or remove room
nesvn030
2019-06-26 06:37:49
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
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.
Back to top