Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2020.2.0a7
2020.2.0a20
Issue ID
1267300
Regression
Yes
[2D] Null reference exception thrown on changing values of a material while recording animation
Null reference errors are thrown if custom material properties are changed while the animation window is open
Steps To Reproduce:
1. Create a project with 2D template
2. Import the attached package
2. Square> Inspector> New Material > Change parameters
Expected Result: Parameters are changed
Observed Result: Null reference errors are thrown in the console
Reproducible in: 2020.2.0a20, 2020.2.0a7
Not Reproducible in: 2020.2.0a6, 2020.1.1f1
Environment: Win and Mac
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
- Profiling builds created on older versions cause samples to be colored green when using a Profiler from newer versions
- Sprite Editor unsaved changes get reverted when Script Recompilation finishes
- The position/width/alignment of other GUILayout elements is changed when calling EditorGUILayout.Foldout within a GUILayout.BeginArea
- Visual Scripting namespace is empty when using the "Runner Game" template
- Light direction changes when changing "Light Anchor" component's "Distance" property
Resolution Note (fix version 2021.1):
Fixed in 5.0.2
Resolution Note (fix version 2020.2):
2D: Fixed Null reference exception when changing values of a material while recording animation with Skinning Module enabled
Resolution Note (fix version 2020.1):
2D: Fixed Null reference exception when changing values of a material while recording animation with Skinning Module enabled
Resolution Note (fix version 2019.4):
2D: Fixed Null reference exception when changing values of a material while recording animation with Skinning Module enabled