Search Issue Tracker
In Progress
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.3.X
In Progress in 6000.2.X
Votes
1
Found in
2022.3.21f1
2023.2.12f1
2023.3.0b9
6000.0.0b11
6000.1.0a7
6000.2.0a1
6000.3.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
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
Add comment