I’m trying to save and load my game without crashing.
When I open my packed game it loads the menu with a game mode called Menu. Here I can select different levels.
After clicking on one of the levels (for example level A) it opens the level with an open-level blueprint. This level has a game mode called RTS_Gamemode (see image above).
Here I’m able to play and save my level with the use of a plugin called Save Extension.
If I would then quit my game, open level A again, and load my level, it all works fine as this is the same object id as it was saved in. However, if I open the game, open level A, then go back to my menu and open level A for the second time, it gives me a new game mode URL/ID. When I then try to load the saved game I get an error saying fatal error (Unhandled Exception: EXCEPTION_STACK_OVERFLOW).