Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.2.X, 2021.1.X

Votes

0

Found in

2020.2.0a13

2020.2.0b5

2021.1

Issue ID

1282685

Regression

Yes

The array is not revertable to the Prefab's default array when it is reorderable

Inspector Framework

-

How to reproduce it:
1. Open user's attached project
2. In the Hierarchy view click on the 'Prefab' Prefab
3. In the Inspector view find 'Script 2 (Script)' component
4. Try right-clicking on the array's 'Data' header

Expected result: Pop-up menu with 'Revert' menu item appears
Actual result: Pop-up menu doesn't appear and you can not revert the array to the Prefab's default array

Reproducible with: 2020.2.0a13, 2020.2.0b9, 2021.1.0a2
Not reproducible with: 2018.4.27f1, 2019.4.11f1, 2020.1.11f1, 2020.2.0a12

Workaround: There is a workaround in the newer versions. Add an '[NonReorderable]' attribute before an array

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a1

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.2f1

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.