From 266b56964127b21aa89026627f441d7d31ce75eb Mon Sep 17 00:00:00 2001 From: kobewi Date: Mon, 10 Feb 2025 17:09:34 +0100 Subject: [PATCH] Silence missing icon error if UID cache is missing --- editor/project_manager/project_list.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp index a4d3628d179..b96e40b0b73 100644 --- a/editor/project_manager/project_list.cpp +++ b/editor/project_manager/project_list.cpp @@ -502,6 +502,9 @@ ProjectList::Item ProjectList::load_project_data(const String &p_path, bool p_fa if (icon.is_empty()) { WARN_PRINT(vformat("Could not load icon from UID for project at path \"%s\". Make sure UID cache exists.", p_path)); } + } else { + // Cache does not exist yet, so ignore and fallback to default icon. + icon = ""; } }