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
- ScaleConstraint fails to maintain child GameObject scale when parent's scale is set to zero
- Some Terrain Details appear darker or brighter than the rest when Light Layers are enabled in the HDRP Lighting settings
- Crash on Transform::InitializeTransformHierarchyRecursive when opening a specific project
- Missing Script References are not removed from GameObjects when using GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Files cannot be created if their names start with numbers in UI Toolkit Editor Window Creator
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