Photon does not delete empty rooms
Options
I'm developing a game using Photon as Playfab add-on. When the development was coming to an end I was very disappointed with such an unpleasant moment: at some point the rooms in which there are no more players have ceased to be removed from the list. The screenshot shows the contents of the list of rooms that I get in the OnReceivedRoomListUpdate () method. These ten empty rooms have been
coming for a week. How can I fix this?
coming for a week. How can I fix this?
0
Comments
-
Hi @Max,
Thank you for choosing Photon!
I'm a bit confused.
Could you help me by answering these questions:
1. Did you stop using Photon? If so why exactly?
2. Did you stop using the Photon - PlayFab integration? if so why exactly?
3. Did you stop using Photon for an old project and you are now starting a new one with Photon?
4. Are you asking this question just for your own curiosity and to help others in the future or you are still working on this and want to fix it?
For the rooms that you think Photon is keeping for weeks could you send this via email to developer@photonengine.com along with:
- your Photon Realtime AppId.
- your PlayFab TitleId.
- the lobby type and name where you create those rooms.
- EmptyRoomTTL and PlayerTTL you use when creating those rooms.
- link to this discussion.
Suggested subject of email: "Empty rooms not deleted"0 -
You can find these in
RoomOptions
class you pass toCreateRoom
orJoinOrCreateRoom
methods calls.
If you do not modify default values just say so.0 -
Done, I sent my letter0
-
Is there any update on how I can remove empty rooms?
I am not using PlayFab, I am using custom photon server. It does not make sense for my backend to keep empty rooms open. I looked in room properties and could not find anything helpful.0 -
To be clear: photon rooms are removed automatically. There is a RoomProperty named EmptyRoomTtl that determines the minimum amount of time that an empty room should take until it is deleted.0