You can also add the AIPerception component to the AI controller and attach that to the pawn. Less blueprints.