Search Issue Tracker
Fixed
Fixed in 2022.3.46f1, 6000.0.18f1, 6000.1.0b5, 6000.2.0a1, 7000.0.0a7
Votes
1
Found in
2022.3.16f1
2023.2.4f1
2023.3.0a19
6000.0.0b11
6000.1.0a7
6000.2.0a1
7000.0.0a35
Issue ID
UUM-59102
Regression
No
Custom Inspector created with UIToolkit doesn't prompt the user to save changes when it is locked
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Add comment