Game crashing when changing to a different level

First of all, Hi and I hope you guys are doing fine.

My game ‘Egahi’s Quest’ has a Level changing system that uses arrays and changing to different scenes. Thing is when I press the NEXT Button, sometimes, the game crashes along with the browser or editor. Even when it’s a simple change the scene, it still crashes. Thing is it’s only for this particular button. So if I were to access a level directly through the menu, it would work perfectly fine.

My level changing system consists of : saving progress, adding hints, removing lives and adding a transition effect. Even when they’re disabled, it still crashes. I don’t have any while events or repeat events.

Is it possible to view the events associated with this button?

These are the events for the level switching. Sorry the pictures all have to be squeezed in one. The forum wouldn’t let me post more than 1 picture

Ok nvm. I think I solved the crashing. I set the Z order to 9999 so I reduce it to 200. The big unnecessary numbers were too much for gdevelop :sweat_smile: