Search Issue Tracker
Won't Fix
Votes
2
Found in
2018.4.0f1
2019.2.0a1
2019.2.2f1
2019.3.0a1
2020.1.0a1
Issue ID
1182132
Regression
No
Quaternion Euler produces imprecise/incorrect/wrong quaternion rotations/values
How to reproduce:
1. Open attached project "hyperwheel.zip" and scene "QuaternionBugs"
2. Enter Play mode
3. Observe Console window
Expected result: all the debug logs pass the test
Actual result: some of the debug log tests do not pass
Reproducible with: 2018.4.8f1, 2019.2.5f1, 2019.3.0b2, 2020.1.0a3
Could not test with: 2017.4 due to script 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
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
- Visual artifacts when the normal map is using mipmap and Bilinear filtering or Point filtering in URP Lit shader
- Crash on MonoBehaviour::VirtualRedirectTransfer when closing Editor after removing HDPR and importing Water Samples before
- Scene from a specific project is stuck loading in the Web Player with the "Uncaught (in promise) TypeError" error thrown in the browser console
Resolution Note:
The output of `Quaternion.Euler` is subject to floating point rounding errors. It is however within 7 decimal places of accuracy which can be expected from floats.
The values from other functions such as Quaternion.Euler().eulerAngles have already been subjected to rounding to 7 decimal places, providing the appearance of more precise values.