You need to load it first. Either in the Widget or somewhere you can access the Data. For example your GameInstance.
What you DON’T want to do is the following:
Load the SaveGame in function you have open in the screenshot (GetText2), BECAUSE this is a binding and bindings tick.
So you would constantly LOAD the SaveGame. Although you only need to do that ONCE.
And what you also DON’T want to do is:
Plug the “CastFailed” exec into the ReturnNode. Because if the Cast fails, the “AsMySaveGame” Reference will be NULL, means you are
trying to get the Coins variable from a NULL Reference. That’s a bad nogo and leads to “AccessedNone” errors.
What you WANT to do, to fix that:
Select the ReturnNode and simply copy paste it. So you have 2 return nodes. Now return a plain, hard coded ReturnValue Text when the
cast fails and only use the Coins variable when it succeeds.