Using a reference inside AnimGraph rule gives error message

Sometimes a reference inside my AnimGraph rule is set to None giving me the following message;

“Accessed None ‘TPC’ from node Result in graph 'Transition in blueprint HeavyAnimation”

Although the blueprint is working, the error message comes up every time. I’ve tried adding an Is Valid, but that doesn’t keep the error from showing up.

Is there a way to break when TPC is indeed none so it doesn’t give an error and I can catch it, perhaps give a print?

Thanks in advance,

I’ve since managed to fix this.
What I did was add a new state in the Animation State Machine with a transition that solely checks for the reference Is Valid check.
Don’t know why this wasn’t possible in the other following nodes.

1 Like