Save/Load Object Instance to/from Slot
Is it possible to save dynamically created objects?
This works like a charm:
This does not, even though the saved data exists:
asked Nov 20 '14 at 10:48 PM in Blueprint Scripting
The reason the second blueprint isn't working is because the "Set Object to Save/Target" node and the "Save Game to Slot" node are never actually called. The variables being passed to the Save node are set properly but the save never actually happens. Since you are working with a dynamically created object, you could save the values for the object and then recreate it (which it seems you may be doing in the first screenshot) rather than save the object itself. Hope this information helps.
answered Jan 30 '15 at 08:47 PM
You will need to spawn and initialize any dynamic objects that are not serialized to the level.
So what you can do is make a struct that stores the Object's Class, Name and Transform. Than when you load it back in you can spawn it at the transform location and orientation with its old name using the class type.
answered Jan 29 '15 at 04:29 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here