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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Add comment