missing object in scene event after load scene
Posted: Sat Sep 03, 2022 2:18 pm
I want to set a specific gameObject active when dialogue ends, so I added functions in scene events for the last dialogue node. (Here the two functions are both to set the scene portal to active from inactive)
It works if I just start playing that scene and finish the dialogue, the object will be activated.
However, when I tried to implement save & load with the save system of pixel crusher, If I save the game before the dialogue, then load that slot, the object previously set in the scene events will be missing, (so there is no object activated after the dialogue).
I want to know what caused this problem and if is there any way to avoid this.
It works if I just start playing that scene and finish the dialogue, the object will be activated.
However, when I tried to implement save & load with the save system of pixel crusher, If I save the game before the dialogue, then load that slot, the object previously set in the scene events will be missing, (so there is no object activated after the dialogue).
I want to know what caused this problem and if is there any way to avoid this.