Save system works with restart, but not with level Loading

Hey There

I followed the tutorial from Rayn Laley Unreal Engine 4 Tutorial - Saving & Loading Pt.2 Level States - YouTube and now i am stuck! I adapted it to save may Quests (the status of them) and everything works when i sestart te level with the editor.

The First Comment under the video says “Great tutorial! got it working, but ran into a issue when switching levels the maps in the structs lose their actor references. Changing the map object variable to “soft objects” solves this”.

Do you understand this? i read a lot of comments under the Video but did not finde somthing that i understood good enought to get a succsesfull google search and my project back on track.

Thanks for reading this far! Thanks for your Help!

Hey @Dynamo!

The map that user is talking about is the array like variables in your save game data structure. What the user is most likely referencing is a soft object path or reference like so:

You can also serialize the map for save games:

I hope the above is the solution you are looking for!

1 Like

Thanks for This, that worked for men, now that i understand what was meant.