Why is my casting Failed?

Ah I see it now, so i guess your PW_Character is controlled by the PW_AiControlller
If so, use a get reference to self node, drag a get controlled pawn from that, and use this instead of the get player character.
It should work