Search Issue Tracker
Fixed
Fixed in 6000.3.7f1, 6000.4.X, 6000.5.0a1
Votes
0
Found in
2022.3.66f1
6000.0.56f1
6000.2.2f1
6000.3.0a6
6000.5.0a1
Issue ID
UUM-115091
Regression
No
OnWillSaveAssets receives an empty paths array when saving a new Scene
Reproduction steps:
1. Open the attached “IN-111513.zip” project
2. Go to File > New Scene
3. Select “Basic (URP)” and Create
4. Save the Scene and give it any name
5. Observe the Console
Expected result: Log as such “OnWillSaveAssets: Assets/(Scene_name).unity" is visible
Actual result: Empty log “OnWillSaveAssets:" is visible
Reproducible with: 2022.3.66f1, 6000.0.56f1, 6000.2.2f1, 6000.3.0a6
Reproducible on: macOS 15.5 (M3 Max), Windows 11
Not reproducible on: no other environments tested
Notes:
- Other asset types (e.g., Prefabs) show correct behavior - the log includes the asset path when saving
- This prevents from validating or blocking scene saves using OnWillSaveAssets
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Resolution Note (fix version 6000.4):
Fixed in 6000.4.0b7
Resolution Note (fix version 6000.3.7f1):
Fixed in 6000.3.7f1