Blendspace broken? [Help!]

I was following this tutorial;


At 17 minutes in we start adding blend space animations, Just for test purposes I only did the forward jog as movement increases. I have an issue though, the animation only plays sometimes, It’s like a random chance the character will jog otherwise the character will move forward in the idle position.

Blendspace is the same as the video and everything else is the same, but on the tutorials he has it working fine but my animation only works “Sometimes”?

EDIT: Blendspace is working fine but it only triggers the animation sometimes as I said, here is screenshots of my blueprints.

If you need anymore screenshots just comment

Maybe the TryGetPawnOwner is resulting in IsNotValid. In such a case, the speed won’t be calculated. The blendspace will receive 0 as speed and the character will continue to stay in idle animation.
Try attaching a PrintString to IsNotValid exec node to confirm this.

Additionally, try doing this. Instead of calling TryGetPawnOwner every frame, store the value in a variable when the AnimBP is initialized. I am not sure if this could be the problem, but no harm in testing it out, right? :smiley:

I relooked at my locomotion and turns out I had the wrong blend space connected. Thanks for the tip though! I will use that next time I encounter another problem!