# AI Movement Component drops fps when there is a lot of AI

**URL:** <https://forums.unrealengine.com/t/ai-movement-component-drops-fps-when-there-is-a-lot-of-ai/1291987>\
**Category:** C++\
**Tags:** ai-navigation, charactermovementcom, movement-component, ai-move-to, unreal-engine, question\
**Created:** [September 12, 2023, 7:08am UTC](https://forums.unrealengine.com/t/ai-movement-component-drops-fps-when-there-is-a-lot-of-ai/1291987 "2023-09-12T07:08:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryuz1337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ryuz1337](https://forums.unrealengine.com/u/ryuz1337)\
**Post date:** [September 12, 2023, 7:08am UTC](https://forums.unrealengine.com/t/ai-movement-component-drops-fps-when-there-is-a-lot-of-ai/1291987/1 "2023-09-12T07:08:07Z")

</div>

Hey everyone,

I am trying to create a simple horde of zombies which is 50+ units, that are going to run after the player.

There have been some Animation performance issues which I managed to deal with to some extent. Now, the next candidate to deal with is the movement component of each AI unit, which I am not sure how to approach and it’s dropping my fps a lot.

What are the general recomendations to approach this? I’ve read somewhere that there are some other components that should be used instead of `CharacterMovementComponent` but I am not sure how to assign it to a **Character** since it comes as a default and cannot be removed. Something else worth mentioning is that I am trying to get this to work over the network, and when running standalone or as server, I get performance boost of 20-30fps and I don’t understand why??

Hardware is not a problem as I am running a high end rig, which is another concern to get this to work on lower spec machines.

Any suggestion on how to approach this is much appreciated!

Trace Log:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/a/41a9a7f1673d89b207050e5def4c4c5732a428e4.png)
