Search Issue Tracker
In Progress
Under Consideration for 2022.3.X, 6000.0.X, 6000.3.X
In Progress in 6000.2.X, 6000.4.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
- Palette Settings link to the documentation isn’t working
- Tags & Layers window has inconsistent remove button behaviour between Tags, Sorting Layers, and Rendering Layers when there are no removable items in the list
- "Type Options" and "Node Library" dropdowns do not open when clicked on the title
- Public char variables uneditable in Inspector when project setting "Use IMGUI Default Inspector" is enabled
- IAP Listener component’s list titles go out of bounds when resizing the Inspector window horizontally
Add comment