Search Issue Tracker
Active
Under Consideration for 6000.4.X
Votes
0
Found in
6000.4.0a1
Issue ID
UUM-116381
Regression
No
ADB Search Provider doesn't yield result asynchronously
Iterating using AssetDatabase.EnumerateAssets(filter) can be really costly.
{code:java}
var it = AssetDatabase.EnumerateAllAssets(filter);
while (it.MoveNext())
{
var current = it.Current;
if (current == null)
{
Debug.Log($"null");
}
else
{
Debug.Log($"Match: {current.name}");
}
}
{code}
In the above example, MoveNext will return only if a result is found OR if all assets have been iterated on. In big project this leads to big slowdown.
Note that this behavior is also seen in the Project browser.
Ideally we would like an iterator that allows to iterate over all assets and that allows to Filter manually. Or that returns a "dummy" invalid Current for each asset that doesn't fulfill the Filter.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment