Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

1

Found in

2017.3.0f3

Issue ID

990424

Regression

No

NavMeshAgent updates position even when updatePosition is false

AI Navigation

-

In the attached example you will see that "AgentA" gameObject does not move. It has a NavMeshAgent attach to it in the scene. This object does not move if updatePosition is false. "AgentB" gameObject adds a NavMeshAgent with the script. This object moves even if updatePosition is false

To reproduce:

1. Download attached project "NavMeshAgent.zip" and open in Unity
2. Open "Scene" scene
3. Select "AgentB" gameObject in Hierarchy
Note: Observe in Inspector window that "AgentB" gameObject Y-axis position is "-0.5"
4. Enter Play mode

Expected Result: "AgentB" gameObject doesn't change its position
Actual Result: "AgentB" gameObject changes its position

Notes:
- This issue happens on both Windows and OSX
- Before testing, every time rebuild NavMesh

Reproduced on Unity 5.6.5p1, 2017.1.3p1, 2017.2.1p3, 2017.3.0p4 and 2018.1.0b5

  1. Resolution Note:

    Will be fixed as part of substantial refactoring work planned for the NavMeshAgent.
    More information will be communicated on the Navigation forum. https://forum.unity.com/forums/navigation.79/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.