Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2017.4.X, 2018.4.X, 2019.3.X, 2020.1.X
Votes
2
Found in
2017.2.0p4
Issue ID
977653
Regression
No
NavMeshPath sometimes returns bad paths when using Obstacle Carving
How to reproduce the issue:
1. Open the attached project
2. Open the "NavBug" scene
3. Enter Play mode
4. Navigate to the area with text "Mouse around here"
Actual result: The generated path is wrong (screenshot attached).
Expected result: The path should be generated correctly.
Reproducible with: 2018.1.0b1, 2017.3.0f3, 2017.2.1p1, 2017.2.0b1.
Notes:
The bug is caused by the Sphere which has NavMeshObstacle.Carve set on.
The wrong path occurs when the path is going through the corner point of NavMesh Surface.
Couldn't test 2017.1 and earlier versions because of the compile errors.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a1
Resolution Note (fix version 2017.4):
Fixed in: 2017.4.40f1