Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2020.3
2020.3.4f1
2021.1
2021.2
Issue ID
1331091
Regression
No
NonReorderable attribute is ignored when the list is in inherited class
How to reproduce:
1. Open the attached project ("1331091.zip")
2. Open "SimpleScripts.cs" in Assets/Editor
3. Notice how there are two fields "Budgets" and "BudgetDetails", one is of the "BudgetSettings" class and the other is of the "BudgetDetails" class
4. Notice how "BudgetSettings" inherits "BudgetDetails" and there is a "SomeList" field with NonReorderable attribute in the "BudgetDetails" class
5. Open "SimpleScripts.asset" in Assets/ScriptableObjects and look at the Inspector window
6. Expand Budgets/Element 0/Some List and set its size to something more than 0
7. Repeat 6th step with Budgets_details
Expected result: The "Some List" List is non-reorderable on both "Budgets" and "BudgetDetails"
Actual result: The "Some List" List is non-reorderable on "BudgetDetails" and reorderable on "Budgets", which means it ignores the NonReorderable attribute
Reproducible with: 2020.3.6f1, 2021.1.5f1, 2021.2.0a15
Couldn't test with: 2018.4.34f1, 2019.4.25f1 (the NonReorderable attribute is not supported)
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
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
- Graphics.DrawProceduralIndirect and Graphics.DrawProceduralNow silently dropped on DX12
Resolution Note (fix version 2021.2):
Fixed in 2022.1.0a2
Resolution Note (fix version 2021.2):
Fixed in 2021,2,0b6
Resolution Note (fix version 2021.1):
Fixed in 2021.1.17f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.16f1