Cannot Load Game from main menu

Hi! I am in the process of building my game.

I looked up the tutorials by Ryan Layley on how to load game from main menu. I created a game instance and am using it to save my data and load it. The load game Event works just fine as long as I am in game and using an ingame menu. As soon as I try to load the game from main menu (It has a different gamemode to show cursor and show enable click events) all my saved parameters go back to default. I have narrowed it down and I think the culprit is OpenLevel(By Name) node I am using.

Save game to slot is in SavePlayerData function.



Can anyone troubleshoot this problem. I have been at it for 2 days straight and have reached a dead end. Here are some screenshots for context.

Thank you so much in advance!

Your problem is this

Nothing in the red box runs, because open level throws everything away except the game instance.

If you want to load stuff from the save game, you have to do it AFTER opening the level. So, that would be in the code of that level :slight_smile:

Thank you It worked when I load info in game mode after loading a level

1 Like