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
- Nested Canvases' CanvasGroup.blocksRaycasts parameter ignores inheritance from parent Canvases' CanvasGroup when Override Sorting is enabled
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
Add comment