Casting from Animation class to blueprint class always fails?

I am trying to access a public variable in my Animation class through casting but it is always failing! Why is this?

Here is the blueprint:

Any help is greatly appreciated.

Instead of printing hello from the Try Get Pawn Owner drag the return value to the print string so it prints what the pawn owner is, that will help you narrow down what the issue might be. It should return the display name of the pawn owner.

I did what you suggested and it printed nothing, i.e null.

Oh my bad, I never added my Animation Blueprint to my Blueprint class