Execution stops at half way

My execution stops at a “cast to” node, and doesn’t continue for some reason. How can I fix this?

Your cast may be failing. Add a “Print String” node on the Cast Failed. If it prints, then it’s failing. Make sure Persistent Variables is set as the Game Instance for the project inside the project settings.

Thank you. Problem Solved.

Thank you. Problem Solved.

It is failing because blueprint PersistentVariables is not a GameInstance.

Open PersistentVariables and check in the upper right corner what class you’re inheriting from. It should be saying GameInstance.

Am I guessing correctly that you’re trying to fiddle with saving data?