How to update user save data when releasing a patch to update the game?

I have released a my game on on steam few days back, right now i’m fixing bugs and issues reported by users. After bugs are fixed i just make new patch form Unreal’s patching system and push it to steam so users automatically download the patch and update the game.

Problem is this is not working with “Save Game” type! Let me explain the issue,

Think user already have some data which is saved in user computer related to a setting (for an example graphics setting). But in the new patch i have added a new variable to that same save game file(and use that variable to perform some logic ) which is not exist on old save game file (current user save file before update the game).

Now if user updates the game and application trying to load the existing save data file from user’s storage but it has a missing variable! because of that logic can’t execute properly on user’s application.

Is there anyway to solve this? if so please help me.

I think you’ll find it’s ok actually.

I thought about this for a long time, wasn’t sure and eventually made extra slots for new functionality.

But reading further, I discovered it doesn’t matter. Because of the way the save game BP is serialized, the system can insert new variables into an old save game.

I’m about 99% sure of this, I don’t want to land you in it, but it’s worth investigating…

1 Like

Can confirm what @ClockworkOcean said is TRUE. I updated my live game on Steam with a new variable in the save game object and the serialisation makes it effortless; new variables are inserted into players old save files. Beautiful!

1 Like