How to reproduce:
1. Open the user’s attached “editor-window-tests-master” project
2. Select the “Assets → TestObjects → Animation → TestAnimationObject” Prefab in the Project Browser
3. Select Layer type value in the fields under “Collider Layer Overrides” in the Inspector 10-15 times
Expected result: No error is thrown
Actual result: In 1 out of 5 cases, after selecting a Layer type, a field dropdown will become empty with “NullReferenceException: SerializedObject of SerializedProperty has been Disposed.” thrown in the Console log
Reproducible with: 2022.2.0b3, 2023.1.0a4
Couldn’t test with: 2020.3.37f1, 2021.3.7f1, 2022.1.12f1 (“Layer Overrides” section isn’t featured)
Reproduced on: macOS 12.3 (Intel)