Blueprint AI issues, Behavior tree not detecting target

So I’ve been following this tutorial (, and I understand that it’s rather outdated, however i’m quite new to unreal engine and blueprinting. When I check the Behavior tree, it runs the patrolling to waypoints fine, however it doesn’t seem to pick up the player as an enemy. Here’s the code for the behavior tree service that I have. I’m assuming you’re going to need more info, but i’m not entirely sure of what, so if you need more, please just let me know.