Reproduction steps:
1. Open the attached project “ReproProject”
2. In the Project Window, select “Assets/XML/Manifes1.xml”
3. Lock the Inspector Window
4. In the Inspector Window, Press the + button to add an entry to the Asset List
5. In the new entry field, select the “Prefab 2”
6. Notice the “*” symbol in the Inspector indicating unsaved changes
7. Select “Assets/XML/Manifest2.xml” without removing the Lock in the Inspector Window
8. Observe the Editor
Expected result: The Editor prompts the user to save or discard unsaved changes after unlocking the Inspector
Actual result: No prompt to save changes (i.e. changes made to Manifes1.xml are lost)
Reproducible with: 2022.3.16f1, 2023.2.4f1, 2023.3.0a19
Couldn’t test with: 2021.3.33f1 (user script errors due to incompatibility from inherited Editor class)
Reproducible on: macOS(Intel) 14.0 Sonoma
Not reproducible on: No other environment tested
Note: Changes made will only be saved if the “Apply” button in the Inspector Window is used before selecting another XML file, in this case, Manifest2.xml.