Engine barely starts again

This commit is contained in:
Simon Lübeß
2024-11-21 18:16:41 +01:00
parent ad73abd4ea
commit bcf75bf8cb
32 changed files with 299 additions and 161 deletions
+8 -1
View File
@@ -971,7 +971,10 @@ class EditorContentManager : IContentManager
TreeNode<AssetNode> assetNode = TrySilent!(AssetHierarchy.GetNodeFromAssetHandle(handle));
_assetConverter.QueueForProcessing(assetNode->AssetFile, isBlocking);
var isBlocking;
isBlocking = true;
if (isBlocking)
{
asset = _assetCache.GetCacheEntry(handle);
@@ -1017,6 +1020,10 @@ class EditorContentManager : IContentManager
return placeholder;
}
var isBlocking;
isBlocking = true;
if (isBlocking)
return InternalLoad(asset);
else