Search Issue Tracker
By Design
Votes
16
Found in
2021.2.0b5
2021.2.2f1
2022.1.0a2
Issue ID
1382187
Regression
Yes
EditorGUILayout.PropertyField is not changing the list elements
How to reproduce:
1. Open project "2020.3.22f1.zip"
2. Press BuildConfig>Open Build Configuration Window in the top menu
3. Press the Select SceneAsset button in the "Element 0" field
4. Select "Scene1"
5. Observe the "Element 0" Scene
Expected result: "Element 0" has "Scene1"
Actual result: "Element 0" has "Scene0"
Reproducible with: 2021.2.0b5, 2021.2.1f1, 2022.1.0a2, 2022.1.0a16
Not reproducible with: 2020.3.24f1, 2021.2.0b4, 2022.1.0a1
Could not test with: 2019.4.32f1 (Errors: "Library/PackageCache/com.unity.collab-proxy@1.13.5/Editor/Collaborate/Models/Providers/Collab.cs(593,22): error CS1061: 'Collab' does not contain a definition for 'RevertFiles' and no accessible extension method 'RevertFiles' accepting a first argument of type 'Collab' could be found (are you missing a using directive or an assembly reference?)")
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
- Build fails with "Shader error in 'BK/StandardLayered" when using a custom shader
- Crash on SkinnedMeshRenderer::UpdateSkinnedMeshes when interacting with the Editor in a specific Scene
- Packman: "My Assets" filters section doesn't rescale on filter sections collapse
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
Resolution Note (2022.2.X):
ReoderableList has design limitations, this means that when a serialized object is recreated on every frame, and the reorderable list is trying to do changes to an outdated object. Suggested solution is to edit the script so SerializedObject is not recreated on every frame but only when it's needed (button presses, window initialization, or some other event).