Hi.
It seems to happen to me before, when you set a global variable and then use undo.
But i minimized using globals by using only a few and only game object.
for example 1 global for Player, then on that player i have a "Data" fsm with the variables i need to access globally.
then use Get/Set Fsm Variables (there are more fsm action on the ecosystem like for example Fsm Bool Test)