# Navigation system picking wrong agent

**URL:** <https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386>\
**Category:** AI\
**Tags:** EQS, nav-agent, unreal-engine, navmesh, question\
**Created:** [September 14, 2016, 12:17pm UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386 "2016-09-14T12:17:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [September 14, 2016, 12:17pm UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386/1 "2016-09-14T12:17:08Z")

</div>

It seems that the AI is consistently picking the wrong agent for some reason. heres the setup vs what is being used.

The AI Visual logger seems to keep showing that VehicleAgent is unable to find path.  
Am I doing something wrong here. I have tried to change these options to no avail :

- update nav agent with owners collision
- preferred nav data .
- nav walking search height scale.

no matter what I set it’s always choosing VehicleAgent.

 ![106897-wrong+agent.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/e/50e8572d2da9b87f3d2986bddb0d2accbc60331b.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e9739453](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e9739453](https://forums.unrealengine.com/u/anonymous_user_e9739453)\
**Post date:** [December 19, 2016, 11:17pm UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386/2 "2016-12-19T23:17:48Z")

</div>

Un-check “Update Nav Agent with Owner’s Collision”

That check-box tells the engine to override the “Nav Agent Radius/Height” values using the physical dimensions of the pawn’s collision.

Side-note, agent values need to be \> 5 units apart for the engine to detect a difference between agent types.

---

<div class="post-metadata">

**Author:** ![Kokuyouseki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kokuyouseki](https://forums.unrealengine.com/u/Kokuyouseki)\
**Post date:** [January 29, 2022, 9:31am UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386/3 "2022-01-29T09:31:13Z")

</div>

It’s 4.27 now and this is still an issue.

It kind of baffles me why we are not allowed to pick NavAgent on our own. I have same size units, one can step on ledges (like colossi from SC2) and I cannot tell the system which is which in an easy way apparently. Why is it only size, why are stuff like “can fly” or “step up height” ignored?  
Automation is great but it is NEVER good to not allow human correction, as win10 has proven over and over again.

Let us pick it, pretty please?

---

<div class="post-metadata">

**Author:** ![Kokuyouseki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kokuyouseki](https://forums.unrealengine.com/u/Kokuyouseki)\
**Post date:** [July 19, 2023, 12:12pm UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386/4 "2023-07-19T12:12:29Z")

</div>

I get it, this is old but apparently not fixed even in UE5? If it is, do tell but at least in blueprint, I saw no reason to believe that.

I have two agents, tell the navmesh bounds to support only 1 and it builds navigation for the other one… what’s the point of a setting if it gets ignored?

The two agents have different settings, like one can step up quite high (hovercraft) but the radius is the same so I’m guessing the system chooses the one latter added to the agents list. Ignoring my SupportedAgents setting if the radius is the same…

I’m truly sorry to whine about this again but years later and this still isn’t done despite being a relatively obvious problem. Why force automation if it doesn’t work? Just let us choose agents everywhere, please?

(Actually tried removing all supported agents from the navmesh bounds (I have 4) and it still built 2 RecastNavMeshes…)

---

<div class="post-metadata">

**Author:** ![YSGCOMPANY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YSGCOMPANY](https://forums.unrealengine.com/u/YSGCOMPANY)\
**Post date:** [December 12, 2023, 11:38am UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386/5 "2023-12-12T11:38:25Z")

</div>

I have the same problem in UE5.3 its so annoying

---

<div class="post-metadata">

**Author:** ![SgtFlexxx](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sgtflexxx/32/1194634_2.png) [@SgtFlexxx](https://forums.unrealengine.com/u/SgtFlexxx)\
**Post date:** [August 8, 2024, 3:25am UTC](https://forums.unrealengine.com/t/navigation-system-picking-wrong-agent/370386/6 "2024-08-08T03:25:57Z")

</div>

Experiencing the same issue. I have no idea why it won’t pick the NavAgent I want it to. Would be much easier if it was just a manual dropdown or something.

> [@Can't specify NavAgent with custom movement component](https://forums.unrealengine.com/t/cant-specify-navagent-with-custom-movement-component/1966426):
>
> Hi all, I’ve got a project going where I have primarily two types of pawns: Characters and Vehicles. I would prefer for the pawns to use the smaller default NavAgent, and for Vehicles to use the larger “Vehicle” NavAgent. I tried specifying this in the project settings… …And I tried specifying this within my custom movement component (including turning off Update Nav Agent with Owners Collision)… However, I have had no luck. The vehicles still end up using the de…
