room.customProperties carry over to new room?
Hey guys,
When I first start up my game the custom properties are empty. If I create a room and set a custom property with key "a" and value "b" everything works as I would expect so far. But if everybody leaves that room, and the room is removed, and I create a new room, the new room starts out having a custom property with key "a" and value "b" right from the start.
Is this how it is supposed to work?
When I first start up my game the custom properties are empty. If I create a room and set a custom property with key "a" and value "b" everything works as I would expect so far. But if everybody leaves that room, and the room is removed, and I create a new room, the new room starts out having a custom property with key "a" and value "b" right from the start.
Is this how it is supposed to work?
0
Comments
-
The room properties should not carry over.
You should make sure it's a new room and that you are not setting the properties accidentally. Maybe you changed some RoomOptions (in PUN 1.25) and re-use those? Then the room props will be set once again (but they technically don't carry over).0