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
- Bad performance when executing the Physics.IgnoreCollisions() method while in Play Mode
- Sprite Editor has a thicker separator between buttons when "Sprite Editor" option is selected
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when UpdateVolumeStack function is called
- [Windows] Unicode custom text input window shows question marks when inserting an emoji
- Memory leak when the VFX Graph Editor is open
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