Progress Bar resetting when changing maps

I’m having a issue where the progress bar keeps resetting back to zero everytime the character loads into a new map. Any ideas what is going wrong?

Hello @Ready4Bready ,

if you don’t show us the code, we won’t know what happen. Could you explain more and show some code related to the binding?

Also are you aware that when you are travelling between level, the old character get destroyed and in the new level, new character will be created and all data from the old character not going to be transferred. Except if you save the data and load it OR use Game Instance.

1 Like

+1

I didn’t know that the character gets destroyed, I believe that’s what is causing my progress bar to reset.
The data relating to the progress bar is called ‘inspiration’ and I’ve set it up in the player character’s blueprint. (if that makes sense)

@ImAGoodSpoon1 thanks for the help. I swapped around my code so that my ‘inspiration’ is set in Game Instance instead of the character blueprint, and now I’m casting to Game Instance if I want to use ‘inspiration’. That fixed my issue. Thanks for explaining that the character gets destroyed as I had no idea.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.