Search Issue Tracker

Active

Votes

0

Found in

6000.0.4f1

Issue ID

UUM-72672

Regression

Yes

Error "AssetDatabase.SaveAssets are restricted during asset importing" 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 for the User
# Right click the saved search and select "Set Icon..." and wait for a 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.