Hello, I’ve come to realize recently that in the game that I am programming, the save and load system works perfectly only the first time I load in. To be clear, this means the following:
- A new game is created.
- The game saves on exit, and saves correctly without any hitches
- The player loads back into the game, and the data loaded is correct as well.
- The player picks up items and meets some characters before saving and exiting again.
- When loading in the second time, any data that should have been saved when they opened the game the second time is gone. For example, any items that the player picks up will be back on the ground and will not be in their inventory, any characters they met or quests they completed will not show as being met/completed.
I’m unclear if the problem is within the saving or loading, or somehow both.
Looking at my blueprints myself, I’m unable to figure out why this is happening. It would be fantastic to get some more experienced eyes on this.
My Blueprints
| New Save Game | Save All Data | Load All Data | Load Button | Load Game (Called Through Game Mode Event Begin Play) |
Video demo, though it may not explain much
Hopefully this provides a clear picture, and hopefully the issue isn’t something too complex. Thank you so much for taking your time to read and possibly respond to this.