# AI Perception issues

**URL:** <https://forums.unrealengine.com/t/ai-perception-issues/574632>\
**Category:** AI\
**Tags:** AI-Debugging, unreal-engine, UE5-0, question\
**Created:** [June 5, 2022, 2:38pm UTC](https://forums.unrealengine.com/t/ai-perception-issues/574632 "2022-06-05T14:38:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xianwew1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xianwew1](https://forums.unrealengine.com/u/xianwew1)\
**Post date:** [June 5, 2022, 2:38pm UTC](https://forums.unrealengine.com/t/ai-perception-issues/574632/1 "2022-06-05T14:38:47Z")

</div>

UE5 AI perception for somehow not detecting when a scene has lots of actors. (not a lot, just like 50-100?)  
When I decrease the amount of actors (or some actors were destroyed during gameplay), it starts detecting again

---

<div class="post-metadata">

**Author:** ![Get\_DOVAH\_it](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/get_dovah_it/32/466948_2.png) [@Get\_DOVAH\_it](https://forums.unrealengine.com/u/Get_DOVAH_it)\
**Post date:** [June 5, 2022, 2:42pm UTC](https://forums.unrealengine.com/t/ai-perception-issues/574632/2 "2022-06-05T14:42:47Z")

</div>

This topic has been moved from **Feedback for Unreal Engine Team - Unreal Online Learning Feedback** to **Programming & Scripting - AI**. I also added the tag **AI-Debugging** for you. 😃

When posting, please review the categories to ensure your topic is posted in the most relevant space.

'- Your Friendly Neighborhood Moderator

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [June 5, 2022, 6:14pm UTC](https://forums.unrealengine.com/t/ai-perception-issues/574632/3 "2022-06-05T18:14:16Z")

</div>

Hi, the sight sense has a maximum amount of work it does per tick, and it prioritizes by distance. That means you could increase the amount of work it is allowed to do per tick, for example inside the DefaultGame.ini add something like

```auto
[/Script/AIModule.AISense_Sight]
MaxTracesPerTick=60

```

And/or you could reduce the amount of work needed, by implementing team system and only detecting hostiles.

---

<div class="post-metadata">

**Author:** ![xianwew1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xianwew1](https://forums.unrealengine.com/u/xianwew1)\
**Post date:** [June 5, 2022, 7:59pm UTC](https://forums.unrealengine.com/t/ai-perception-issues/574632/4 "2022-06-05T19:59:13Z")

</div>

Thanks a lot, it was resolved!
