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

I’ve download the file but I have to install 4.27. It’s downloading…
I tried to open it in 5.0 but it didn’t work.