Dupletor
Member
I made an object persistent, and I refer to the object on the clean up event of another object.
If I activate the clean up event by changing room, the game breaks because the an instance of the object that is persistent (and initialized in the first opened room) does not exist.
And that only seems to happen in the transition frame. If the clean up event is called through destruction, everything works, and since any room creation the reference exists.
Isn't it supposed to be persistent?
If I activate the clean up event by changing room, the game breaks because the an instance of the object that is persistent (and initialized in the first opened room) does not exist.
And that only seems to happen in the transition frame. If the clean up event is called through destruction, everything works, and since any room creation the reference exists.
Isn't it supposed to be persistent?