[UE4, C++] AI Sight Perception problem - Enemy won't detect player and is trying to go outside the map!

Ok, I checked the video.
This is correct after all:
SetNewRotation(BaseLocation, GetActorLocation());
Forget what I said.

It will be very hard to help you with this problem. If the problem happens with a single enemy, debug the code to help you understand what is going on. But it’s important that you understand the code you are copying or else you will have a hard time. Usually guessing is not an option in this cases.
Maybe if I had your project files I could help.