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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
Add comment