diff --git a/Source/Engine/Content/Content.cpp b/Source/Engine/Content/Content.cpp index 897817850..2be4df29d 100644 --- a/Source/Engine/Content/Content.cpp +++ b/Source/Engine/Content/Content.cpp @@ -277,6 +277,8 @@ bool Content::GetAssetInfo(const StringView& path, AssetInfo& info) // Find asset in registry if (Cache.FindAsset(path, info)) return true; + if (!FileSystem::FileExists(path)) + return false; PROFILE_CPU(); const auto extension = FileSystem::GetExtension(path).ToLower();