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

Serialization

-

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)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a18

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.