I’m confused by unexpected AI Perception behavior.
Actors derived from a single class have identical AIPerceptionStimuliSource settings. So, These should detect these classes equally, but in reality it selectively detects specific child classes.
I also tried to exclude this actor from selection by emptying the contents of AIPerceptionStimuliSource, but the OnTargetPerceptionUpdate function of AIPerception still continues to detect it.
What does this mean? If it works without StimuliSource, what is AIPerception detecting?
How can I remove this unexpected detection and priority that I did not set?
Hi, by default all pawns register, not only those with a perception stimuli source component (you can disable that in the config). Also the sight sense has a maximum number of traces it does per tick (can also be adjusted in the config) and prioritizes by distance. So if you use the sight sense and have a lot of pawns, it may update inconsistently due to being above the limit.