Blueprint Run time Error and Calulate Direction

I am doing the animation tutorial from the official documentations and have run into an error

I have tried everything in other forums I could find but nothing helped.

Also I might be having the problem because of the new Calculate Direction change. I folllowed Virtus’ tutorial but that didn’t do anything either.

Thanks in advance,

P.S.

Using 4.21

Tutorial I am following.

https://docs.unrealengine.com/en-us/Gameplay/HowTo/CharacterMovement/Blueprints/AnimBlueprint_Walk