Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2020.2
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1325627
Regression
No
For some positions of maxDistance NavMesh.SamplePosition returns a point not on the Nav Mesh
Repro steps:
1. Open attached project "NavMeshIssue"
2. Open scene "NavMeshIssueTest"
3. Enter Play Mode
4. Open the Console
Actual: For some values of maxDistance, SamplePosition returns true with coordinates that are meters away from the NavMesh
Expected: SamplePosition returns a point on the NavMesh
Reproducible with: 2020.2.5f1, 2020.3.4f1, 2021.1.1f1, 2021.2.0a11
Notes:
- Couldn't test the project on 2018.4, 2019.4 due to compilation errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Material is left in broken state when switching from a .git branch with no HDRP to a branch that contains HDRP
- Crash on buffer_add_value_full when hovering over SerializedProperty.boxedValue in Debug Mode after ISerializationCallbackReceiver.OnAfterDeserialize modifies value
- Editor is not capitalised consistently in Preferences window
- [Linux] “Restore Defaults” warning window appears behind Profiler Modules dropdown
- [iOS] Time.deltaTime is switching between 9.998583E-06 and approximately 0.01 seconds
Add comment