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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment