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
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
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
- Crash on EditorOnlyPlayerSettings::GetDefaultTextureCompressionFormat when switching or opening a specific project with Android or IOS Platform
- [Mobile] Player silently crashes on a mobile device when using a lot of "Camera" GameObjects (40 and more) in the Scene
- Scene is modified after exiting Play Mode when Graphics Compositor is enabled in HD RP
- Shortcuts inconsistently trigger when they have a conflict with the same Command
- On Script import/reimport MonoImporter does not generate consistent results due to updating Custom packages
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a1
Resolution Note (fix version 2020.2):
Fixed in 2020.2.2f1