Hello i am working on a dungeon crawler and i stumbled uppon a weird crash. Whenerver i clear the dungeon i designed it so you travel to the next dungeon by just opening the same level that generates a new dungeon etc. I have a door placed at the end and after interacting with it, it checks if there are still enemies left, if not, opens the level. The weird thing is that it doesn’t crash instantly after i open the level, i get into the loading screen and after it ends the game first freezes for like 4 seconds and then crashes. I think it might be because of the loading of the save file with all the player functionality but i really don’t know for sure. If someone can help me could be great.
One thing i forgot. I start the game from a menu level, and then i open the dungeon level, i tried opening the dungeon level directly and when i start from there it doesn’t crash but it has nothing to load.
Door Logic
Crash Video