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

**URL:** <https://forums.unrealengine.com/t/ue4-c-ai-sight-perception-problem-enemy-wont-detect-player-and-is-trying-to-go-outside-the-map/266809>\
**Category:** AI\
**Tags:** unreal-engine, UE4-27, question\
**Created:** [December 17, 2021, 8:14am UTC](https://forums.unrealengine.com/t/ue4-c-ai-sight-perception-problem-enemy-wont-detect-player-and-is-trying-to-go-outside-the-map/266809 "2021-12-17T08:14:26Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![SunbeamOut](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SunbeamOut](https://forums.unrealengine.com/u/SunbeamOut)\
**Post date:** [December 20, 2021, 9:33am UTC](https://forums.unrealengine.com/t/ue4-c-ai-sight-perception-problem-enemy-wont-detect-player-and-is-trying-to-go-outside-the-map/266809/20 "2021-12-20T09:33:04Z")

</div>

Well, I need your project files then to help you. At least I’ll be able to compile it.  
Are you using some version control like Git?  
Or you can just upload .rar file on google drive and share the link

---

_[View the full topic](https://forums.unrealengine.com/t/ue4-c-ai-sight-perception-problem-enemy-wont-detect-player-and-is-trying-to-go-outside-the-map/266809)._
