How to reproduce:
1. Open the attached project "IN-76863.zip"
2. Select Assets/Prefabs/Player/NewPlayerTest.prefab
3. Change Animator Controller>Foot Layer Mask to "Everything" in the Inspector window
Expected results: No errors are thrown in the Console window
Actual results: "NulleferenceException: SerializedObject of SerializedProperty has been Disposed." is thrown
Reproducible with: 2022.3.31f1, 6000.0.4f1
Could not test with: 2021.3.39f1 (compilation errors in the Console window)
Reproducible on: Windows 11 23H2
Not reproducible on: No other environment tested