Search Issue Tracker
In Progress
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.3.X, 6000.4.X
In Progress in 6000.2.X
Votes
2
Found in
2022.3.21f1
2023.2.12f1
2023.3.0b9
6000.0.0b11
6000.1.0a7
6000.2.0a1
6000.3.0a1
6000.4.0a1
7000.0.0a1
Issue ID
UUM-65360
Regression
No
Agent velocity resets to 0 when calling NavMeshAgent.SetDestination() to an unreachable position
Reproduction steps:
1. Open the attached “SetDestinationRepro.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Check the second checkbox in the Game view
5. Observe the NavMesh Agent movement and velocity
Expected result: Agent smoothly moves and has stable velocity
Actual result: Agent’s movement is glitching and velocity keeps resetting to 0
Reproducible with: 2022.3.21f1, 2023.2.12f1, 2023.3.0b9
Couldn’t test with: 2021.3.35f1 (AI Navigation package errors)
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: no other environment tested
Notes:
- The first checkbox calls SetDestination to a reachable position and agents' movement is smooth and velocity is stable
- The third checkbox uses a manual SamplePosition/CalculatePath workaround which makes the movement smooth but is not ideal due to it stalling the main thread while calculating the path
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- TileMap selection resets to the default when the Scene is saved
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
Add comment