AIperception does not update fast enough when too many pawns are active

Basically ai work as expected when there are few of them, they perceive each other and execute instructions as expected.

But when i add more of them they just start to walk past each other

And as you can see on the second screenshot debug shows that perception barely updates.
My ai is setup on blueprints and behaviour tree

Here’s AIcontroller BP 123 posted by anonymous | blueprintUE | PasteBin For Unreal Engine 4

Help pls

You have to look at your code and make sure you are updating optimally.
You might have too much processing on the BPs.

I just dropped ai perception and used sphereoverlapactor node to do stuff. It actually works as you expect it to

1 Like