The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

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.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

How to reset room or remove room

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.


2019-06-26 10:24:53

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