Search Issue Tracker
By Design
Votes
0
Found in
4.3.0b4
Issue ID
567851
Regression
No
Corrupt animation curve display for some curves
Steps to reproduce :
- import the project attached
- open the scene "animCurves"
- open the animation tab
- select "MrWolf_001" in the Hierarchy
- change to curves in the Animation tab and expand Export_arm_png/Rotation
- selec the Rotation.z channel and notice the curve and the error in the console
NullReferenceException: Object reference not set to an instance of an object
UnityEditorInternal.AnimationWindowState.OnHierarchySelectionChanged (System.Int32[] selectedInstanceIDs)
Explanation :
In unity all rotation curve are stored as quaternion, a quaternion cannot represent rotation greater than 180 degree so if you do a bigger than 180 rotation between 2 keyframe the interpolation will be bad. This is a math limitation of the quaternion.
Editing a quaternion is not trivial so the Animation Windows display euler curve which are converted from the quaternion curves but still the interpolation is done with quaternion.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment