"Get player character" in Animation Blueprint weirdness

Hey, under my own created character movement blueprint the “Get Player Character” blueprint returns “null” as in this foto:

308799-exm1.png

But in the Level/Map Blueprint it’s fine:

My goal is to make my character falling, but currently any action is him just walking.
What gives?

Thank you in advance.

You use the TryGetPawn node in the Animation BP’s Event Graph. You should not be using GetPlayerCharacter.

I’ll keep that in mind. Although after changing it still outputs “none” and also am not able to connect it to “Is falling” node.

thank you, for explaining this situation, cause I thought it was the “try get pawn owner” or the other nodes not working properly when I had put a bad check for when my character is actually falling

If you’re using TryGetPawn, then you still need to cast to a character in order to access its “Is Falling” variable from its Movement Component.

Also, to see the value of either “TryGetPawn” or “GetPlayerCharacter” you need to select the correct object to debug (by default, it’s usually set to “Preview instance”), otherwise, will always show NULL.