At the start of the game, a save file is generated and you are given the option to add a user name and Avatar for your profile when you hit submit. It’s supposed to update that same save file with the new information you just input and it should display in the Main Menu, But for whatever reason, the Set member in strut is not working any idea what I’m Missing?
Can you show your ‘load game’?
- output of set node return none if it didnt executed. use regular get variable instead. in your save game function.
- try using temporal var playerinfo->tempVar, then use setMembers with tempVar, then tempVar->playerInfo. For example, you cant set member in text style, and thats works fine. This is my example:
Right. Not setting the save game ref…
When i try to go around the setting of save game ref , I still do not get any update to the account information
I will try the temp var when I get back from work to see.
Below is the option to allow the player to input their name and avatar
Below is a print text of the player info in the save file which the main menu is trying to read to load the information inputed by the player.
Below is the code
i dont have a lot exp with savegame, but i think load game node returns copy of savegame class, so direct change does nothing. you need to load->cast->tempVar->set member in tempVar->save game with tempVar.
I have a question: why are you using setMembers? both variables are changed. just make new playerInfo struct and use Set.
WOW , That would make a lot of sense if it’s just a copy. makes sense why it’s reflecting in the “copy” but not the actual file.
can you please explain this a bit deeper I’m still sort of new to this whole set members thing?
as in creating a temp save game ref or a temp player account info?
the thing is a lot of functions in unreal returns copy of something. Regular BP function also returns copy even if you promote REF getter to return node. Structures also can be or not be edited directly is different situations. For example, postprocess->settings can be edited via setMembers, and textblock->style cannot be. Why? The answer is simple: BECAUUUSEE ![]()





















