Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.1.3f1
2021.2
Issue ID
1342490
Regression
No
Element of an array with the SerializeReference attribute doesn't get reverted to null when trying to undo changes
How to reproduce:
1. Open the user's attached project
2. Open the 'SampleScene'
3. In the Hierarchy select 'GameObject'
4. Add a new element to the Array
5. Use the dropdown menu for 'Element 0' to set its type to A
6. Press Ctrl + Z
7. Observe the Inspector
Expected result: The 'Element 0' value gets reverted to null
Actual result: The 'Element 0' value doesn't change
Reproducible with: 2019.4.28f1, 2020.3.13f1, 2021.1.11f1, 2021.2.0a17
Not reproducible with: 2021.2.0a18, 2021.2.0b1
Cannot test with: 2018.4.36f1 (due to errors)
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
- 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
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a18