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.
(comments are locked)
|
|
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.
(comments are locked)
|
|
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.
(comments are locked)
|
Follow this question
Once you sign in you will be able to subscribe for any updates here

