Search Issue Tracker
By Design
Votes
4
Found in
2020.2.0b13
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1328606
Regression
Yes
EditorGUILayout.PropertyField does not open Arrays that are of different level
How to reproduce:
1. Open the user's attached "BugPropertyField.zip" project
2. In the Project window go to Assets -> Scenes -> Resources -> Test Array In Array
3. Go to Window -> TestWindowBug
4. In the Inspector in the section "Array In Array" press the plus button
5. Try to expand the newly created Array element in the TestWindowBug window
Expected results: You can expand the Array element
Actual results: The Array element doesn't expand
Reproducible with: 2020.2.0b13, 2020.3.4f1, 2021.1.4f1, 2021.2.0a13
Not reproducible with: 2019.4.23f1, 2020.2.0b12
Could not test with: 2018.4.34f1 (Creating custom editor windows feature not supported)
Note:
-The behavior in step 5 is one-way. You can expand and close the Array element in the Inspector, but you can't do so in the TestWindowBug window
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
- IndexOutOfRangeException occurs when entering "<a></a>" tags in a TextMeshPro UI field
- Numeric property drag cursor gets enabled in the Inspector Preview window when the window is above numeric properties
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
Resolution Note (2021.2.X):
This issue is not a reorderable list bug. It is caused by recreating SerializedObject on every OnGUI call in customer's project TestWindowBug.cs script