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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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