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
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
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