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

IMGUI

-

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

  1. Resolution Note (fix version 2021.2):

    Fixed in 2022.1.0a2

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b6

  3. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.17f1

  4. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.16f1

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.