Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4.0f1
2018.1.0a1
2018.3.0b9
2019.1.0a1
2019.2.0a1
Issue ID
1100769
Regression
No
NavMesh.SamplePosition() produces a NavMeshHit with normals always equal to Vector3.zero
Steps to reproduce:
1. Download and open the attached project
2. Enter Playmode
Expected results: normals logged in console are real numbers
Actual results: normals are reported as (0,0,0)
Reproduced on 2017.4.0f1, 2017.4.19f1, 2018.3.3f1, 2019.1.0a14, 2019.2.0a2
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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Resolution Note:
SamplePosition() does not calculate the normal at the resulting point and thus it will always return for it the value of (0,0,0).
This information will be added to the method's documentation.