Cast to Character failed in Animation Blueprint

I’ve been trying to get the jump animation working when jump bJumpPressed is true and have been unable to get it to work. After a lot of wasted time, I hooked a “Print String” event to the “Cast Failed” target, and realized that this was the issue.

Would anyone be able to tell me why this cast is failing?

When I run the project, the screen prints “Ugh” and “Hello”:

I redid the whole event graph to make sure I hadn’t done something wrong, which is why there’s no additional logic. But, the cast is still failing.

Ok, so this is odd, but this only happens if I have the blueprint open. If I compile and close the blueprint, and run the project the cast doesn’t fail. But, if I run it with the blueprint open it fails. Not sure why this is, but at least I know how to move forward now.

I have the same question!!!
Finally,I found I open the wrong AnimBP. I actually use another AnimationBP now.
Maybe you should check your animation Blueprint name.

Thank you. I was having the same issue myself. I’m reporting this as a bug because it shouldn’t happen.

I think this is actually by design, if you look closely the name of the pure node is called Try Get Pawn Owner, which means it only tries. If you need functionality it will call through the cast most of the time as shown by the hellos being printed. Im not sure on the technical details behind why but you should be safe to ignore any of the failed casts unless its being generated all the time and without any successful casts.

I thank you as well, I was fighting with this for at least a couple hours, DANG BUGS!!!

No useful Answer just useless Suggestions -_-

Do I need to close animation blueprint or my character blueprint?
I am having same issue.
Please solve it.

Do I need to close animation blueprint or my character blueprint?
I am having same issue.
Please solve it.

How u solved it

Plzz reply
What u need to do