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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
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.