Best way to store a large variety of data into the save game blueprint?

It should.



This is the concept I think would adapt to any class that needs clock info keeping in mind the goal is to reduce amount of variables in save / load.

Clock

Widget:

GetTime overridden interface function in game instance:


int32 can go up to 2,147,483,647. As seconds thats 596,523 hours, 68 years. If more time is needed than perhaps a float might be a better option. I find this way easier to manage.

Suggestions or alternatives are more than welcome. :pray:
testSaveGame_UE5_2.zip (1.9 MB)


Also there is this: DateTime + Timespan no longer working in UE5 😠 (works in UE4) - #2 by Everynone