Saving a Widget in Save Game

Is it possible to store a Widget in the Save Game object and reopen it in the next session?

I have a widget with some textboxes, and i want the user to be able to come back to it when they open the game again, with the widget filled with the data they provided earlier. I know i can store the data in a struct and use it later to populate it but the UI system is quite complicated and I was wondering if was possible to store the widget itself in the save game object. I tried to do it, but when I tried to load the saved widgets they would return null.

Any thoughts?

1 Like

You will need to save and load each element you want to store (in this case text) you can’t just tell unreal to save the widget as the data is too vague. Then when you create your widget, you must get the information from your save game probably on pre-construct or construct.

That’s what I wanted to know, thanks

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.