Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
1
Found in
2020.2
2020.2.4f1
2020.3
2021.1
2021.2
Issue ID
1320158
Regression
No
NonReorderable attribute is ignored when an Object (that has an array) field is of parent type
How to reproduce:
1. Open the user's attached project
2. Open 'SampleScene'
3. In the Hierarchy select 'GameObject'
4. Observe the Inspector
Expected result: The Values array of the Dummy Interface object is not reorderable
Actual result: The Values array of the Dummy Interface object is reorderable
Reproducible with: 2020.2.7f1, 2020.3.0f1, 2021.1.0b11, 2021.2.0a8
Cannot test with: 2018.4.32f1, 2019.4.22f1 (the NonReorderable attribute is not supported)
Notes:
- The issue doesn't reproduce if the dummyInterface field is of DummyImplementation type (and not IDummyInterface type)
- The issue reproduces with interfaces, abstract and simple classes
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
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