diff --git a/Source/Editor/Windows/Search/ContentSearchWindow.cs b/Source/Editor/Windows/Search/ContentSearchWindow.cs index d8d061112..7c433f6ca 100644 --- a/Source/Editor/Windows/Search/ContentSearchWindow.cs +++ b/Source/Editor/Windows/Search/ContentSearchWindow.cs @@ -468,6 +468,7 @@ namespace FlaxEngine.Windows.Search } // Iterate over all assets + var tempFolder = StringUtils.NormalizePath(Path.GetDirectoryName(Globals.TemporaryFolder)); for (var i = 0; i < assets.Length && !_token.IsCancellationRequested; i++) { var id = assets[i]; @@ -476,6 +477,8 @@ namespace FlaxEngine.Windows.Search continue; if (!validTypeNames.Contains(assetInfo.TypeName)) continue; + if (assetInfo.Path.StartsWith(tempFolder)) + continue; // TODO: implement assets indexing or other caching for faster searching var asset = Content.LoadAsync(id); if (asset == null)