Errors in AnimGraph and locomotion Graph

Ok so I know why Im getting errors in these graphs but I cannot figure out how to fix it.

The reason Im getting errors are because the animgraph and locomotion graph are referencing my player character varaiable that I set at begin play in the event graph. I check if player character is valid before setting it in the event graph so all is well there. But since the animgraph and locomotion graph are evaluated per frame, there is a short time after starting game play that these graphs are accessing None from the nodes that are using my player character variable.

Is there a way I can delay the execution of the anim graph and locomotion graph until my player character variable has been set?

If not, do I just leave these errors alone? Even though I get these errors (about 20), everything still works as intended.


Got it if someone needs it


My solution was to set player character variable from a DoOnce node off of EventBlueprintUpdateAnimation. All animgraphs are no longer accessing None from Player Character variable

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