Search Issue Tracker
Duplicate
Votes
3
Found in
2020.2.0a13
2020.3.0f1
2021.1.4f1
2021.2.0a14
Issue ID
1330862
Regression
Yes
SerializedObject ApplyModifiedProperties is not returning true when editing a List field with custom editor code
How to reproduce:
1. Open the attached project
2. Select ApplyModifiedPropertiesTest in the Scene Hierarchy
3. In the Inspector add elements to the list field
4. Modify the elements of the list field
5. Observe Console
Expected result: 'IntListTest was changed.' is printed for each element modification
Actual result: 'IntListTest was changed.' is printed only when the List size changes
Reproducible with: 2020.2.0a13, 2020.3.5f1, 2021.1.4f1, 2021.2.0a14
Not reproducible with: 2018.4.33f1, 2019.4.24f1, 2020.2.0a12
Note:
1. Clicking the plus/minus icons to change the list size will not return true for ApplyModifiedProperties as well
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
This is a duplicate of issue #1328336