Search Issue Tracker
Fixed in 6000.0.13f1
Fixed in 6000.0.X, 7000.0.0a8, future release
Votes
0
Found in
6000.0.4f1
Issue ID
UUM-72672
Regression
Yes
Error "AssetDatabase.SaveAssets are restricted during asset importing" is logged when assigning Icons to a Saved Search
Steps to reproduce:
- Create a "Universal 3D" Project
- Navigate to Window > Search > New Window
- Search for "scene"
- Save the Search via the button on the right of the text field and choose "User"
- Right click the saved Search and select "Set Icon..." then wait for half a minute
Actual results: Errors logged in Console:
"[Worker6] Calls to "AssetDatabase.SaveAssets" are restricted during asset importing.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"
"[Worker6] UnityException: Calls to "AssetDatabase.SaveAssets" are restricted during asset importing.
UnityEditor.SceneTemplate.SceneTemplateAsset.UpdateDependencies () (at <161f3aa789ee48399db397dff282e25e>:0)"
Expected results: No Errors are present
Reproducible with versions: 6000.0.1f1, 6000.0.4f1
Not reproducible with versions: 2021.3.39f1, 2022.3.29f1, 2023.1.20f1, 2023.2.20f1, 6000.0.0f1
Tested on (OS): Windows 11 (reproducible), macOs Sonoma M1 (Not reproducible)
Notes:
- Reproduction seems to be available only when the Project is first created, this might be caused by how Searches are saved and the Asset previews are loaded
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version future release):
Fixed error "AssetDatabase.SaveAssets are restricted during asset importing" when assigning Icons to a Saved Search if the project contains Scene Templates.