Search Issue Tracker

Not Reproducible



Found in


Issue ID




Crash on SerializedObject::DidTypeTreeChange when editing a text field that updates its asset in OnValidate and is bound to a UIElement Custom Property Drawer



Steps to reproduce:
1. Open the “user’s attached project”
2. Navigate to the “Assets/Features/ModularWeapons” folder
3. Press the arrow on the right of the “WeaponSystem” asset to see its sub-assets
4. Click on one of the two sub-assets
5. Change the “Name” to more than two characters through the inspector
6. Observe the crash

Reproducible with versions: 6000.0.7f1
Couldn’t test with versions: 2021.3.39f1, 2022.3.34f1 (due to compiler errors)

Reproducible on: macOS Sonoma 14.5 (Intel), Windows 10 (by the reporter)
Not reproducible on: no other environment tested

First few lines of StackTrace:
{{0x00007FFB2DDD2074 (Unity) SerializedObject::DidTypeTreeChange }}
{{0x00007FFB2DDCB6F6 (Unity) SerializedObject::ApplyModifiedPropertiesWithoutUndo }}
{{0x00007FFB2C125B47 (Unity) SerializedObject_CUSTOM_ApplyModifiedProperties }}
{{0x0000026C1AC2187A (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedObject:ApplyModifiedProperties_Injected (intptr) }}
{{0x0000026C1AC217BB (Mono JIT Code) UnityEditor.SerializedObject:ApplyModifiedProperties ()}}

  1. Resolution Note:

    Fixed in 6000.0.8f1

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.