network object still remains after the owner left the room

Options
I am not 100% sure about this. I checked if there is the owner of the drifting object in the room, but I could not find it.
Of course, this happens not very often. These objects do not disappear until the room is closed.

Does this can happen or I am doing something wrong?
I wonder if I should do check regularly if there are some independent objects in the room? Please, I need some advice.

Comments

  • Hi @mhhk88,

    objects get removed by default if the Owner leaves the room. This does not apply for Scene Objects, except if it is the last client, that leaves the room.

    There is one setting which prevents from removing objects when the player leaves. This is the CleanUpCache option from the RoomOptions. It simply describes, if objects should get removed when the Owner leaves the room.

    There is another one which is related to the PlayerTtl option from the RoomOptions. When a client becomes inactive, his object won't get destroyed as long as he has the chance to return to the game. If this timer expires, his objects will get destroyed.