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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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