Animation Instance Error

I’ve been following a tutorial posted elsewhere : (My realistic First-Person character overview. - Community Content, Tools and Tutorials - Unreal Engine Forums)

Near the middle of the the tutorial page, ive been getting an error and i have no idea why.
The error is:

Error This blueprint (self) is not a SkeletalMeshComponent, therefore ’ self ’ must have a connection.

I have tried to work around it but the cast always fails.
The cast is coming from Event Tick sequence 3 if thats any help.

Thanks for your help.

it’s because “self” is a reference to a “character” but “Get Anim Instance” asks a reference to a “skeletal mesh”, just drag the “mesh” component (under the components tabs, on the left of your screen) into the “Target” and it will solve the problem.

just a ss to help you:

Thanks, that seemed to fix that problem.
But now the cast is now failing for some reason.