Guys why if I quit the game from editor or “standalone game” the last saved current weapon will go back to the default one after loading the save after going back to play (editor/standalone game)?
The health float+player transform+text variable always load fine
But the problem is the static mesh component and the child actor component blueprint
And maybe also the skeletal mesh too have same issue
I tried first with the child actor component, a weapon, and I can switch between 3 weapons. And there’s a current weapon index variable hooked to the save system and a weapon base array variable I use it with current weapon index intager
I think it’s ok to load any save slot and the starting weapon will be the default one even when starting a new level or loading a checkpoint
Yeah it’s fine but not professional
When saving and loading inside the game without closing, the problem will not happen so I think my enemy of the save system is “closing”
But it’s really weird, the components like child actor and static mesh are stubborn
Closing the game from editor will mess up the last saved current static mesh or child actor just because I closed the game and play it again ![]()
I wish if there’s a solution for this.
By the way, the variables are fine like float, text, int
But the components are making me so angyy ![]()