Search Issue Tracker
Won't Fix
Votes
1
Found in
5.0.0f1
Issue ID
672651
Regression
No
Rayhit normal is not completely normalized
Rayhit normal is not fully normalized. It's seems that it lacks of precision.
1. Open project attached by Lukas.
2. Open scene "scene".
3. Play scene.
4. Select gameObject "Cube".
1. Set rotation.y to 90 degrees.
5. You should get log message saying that "hit= True, rayHit.normal= (0.0, 1.0, 0.0), Mathf.Acos(rayHit.normal.y)=NaN
UnityEngine.Debug:Log(Object)
RaycastBehaviour:Update() (at Assets/RaycastBehaviour.cs:18)". It means rayHit.normal.y is higher then 1.
Workaround: normalize rayHit normal.
Regression: 4*
Reproduced: 5.0.0f2, 5.0.0f1, 5.0.0b15
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text overlap and is unreadable in Inspector > Terrain Paint Texture after creating new Terrain Layer
- Event "XRInputSubsystem.trackingOriginUpdated" triggers twice when recentering the view
- UITK TextField value is overwritten incorrectly by the converter result when Binding Mode is set to "To Source"
- Out of memory crash when selecting more than 80000 Assets simultaneously
- Test Runner fails to create a script in the active path when selecting a file as the active path
Add comment