using a reference pic searching for this node variable in animation blueprint
Try to feed Get Player Character into the Cast to node.