diff --git a/Source/Engine/Content/Asset.cpp b/Source/Engine/Content/Asset.cpp index 932fdb503..5585fbe7e 100644 --- a/Source/Engine/Content/Asset.cpp +++ b/Source/Engine/Content/Asset.cpp @@ -400,6 +400,11 @@ bool Asset::WaitForLoaded(double timeoutInMilliseconds) const return false; } + // Check if loading failed + Platform::MemoryBarrier(); + if (LastLoadFailed()) + return true; + // Check if has missing loading task Platform::MemoryBarrier(); const auto loadingTask = _loadingTask;