At loss with Game Instance and persistent memory

EDIT: My bad, in the save system I did not select the correct option to enable multilevel consistent saving in Easy Multi Save.

Hi,

Big problem with storing persistent variables in any shape or form. I have tried to save actors, player pawn and Game Instance which I think is the correct way. Its set in Project Settings as the Game Instance. I cannot store a value, as simple one bool, to control a door closed / open value to have persistent levels after saving and loading, exiting and re-entering the level. I also tick Save Game in Details of the var. It works fine but whenever I load another level, Save and then open the level with the said door, it always defaults.

I use EasyMultiSave (with also by trying to set values from EventActorLoaded) and have also tried its system but with or without it, I cannot store persistent values anywhere. All tips greatly appreciated just to save one bool for starters that persists in a level whenever opening another level, saving and coming back to the level. Where to start to look into this annoying puzzle?

5.5

GI is the easiest way to get a variable from level A to level B.

In level A

In level B

Absolutely. But whenever I close the app (makes no difference whether is packaged or in editor or standalone) the value in game instance is lost.

1 Like

That’s correct.

For that you need the save game :slight_smile: