Search Issue Tracker
Fixed
Fixed in 6000.0.13f1, 7000.0.0a8
Votes
0
Found in
6000.0.4f1
7000.0.0a1
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
- [Quality Hackweek] Activated Terrain Inspector is active only until the terrain GameObject is deselected when two or more Inspectors are open
- Physics Used Memory keeps growing when GameObject colliders are enabled and disabled
- Errors are thrown and Inspector's UI element is not drawing when a GameObject with script component using a List<T> attached is selected
- ConfigurableJoint's parameters are not saved in the Prefab after Runtime Prefab baking
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
Resolution Note (fix version 7000.0.0a8):
Fixed error "AssetDatabase.SaveAssets are restricted during asset importing" when assigning Icons to a Saved Search if the project contains Scene Templates.