Download

[Resolved] Casting failing, animation not being played

Hey,

Regardless of the many topics I’ve seen about this, I still haven’t figured out what I’ve done wrong.
I’m trying to make my character play an animation upon using an ability, which works for one, but not for the other.

It fails right there, not throwing any error, unless I connect the cast failed to the Casting1H set method:
Blueprint Runtime Error: “Accessed None trying to read property K2Node_DynamicCast_AsThird_Person_Character”. Blueprint: Character_AnimBP Function: Execute Ubergraph Character Anim BP Graph: EventGraph Node: Set Casting1HCombat

The Casting1H and Casting1HCombat are both used in the character blueprint as well. They’re also inside some of the animation states’ transitions.

Thanks a lot in advance,
Thana

EDIT: This was fixed by setting a higher delay in between the methods of setting the Casting 1HCombat boolean to true and false