Skip to content

Commit db986ee

Browse files
committed
Merge pull request #102664 from KoBeWi/calm_down_it's_just_a_missing_icon_bro
Silence missing icon error if UID cache is missing
2 parents 66b0eff + 266b569 commit db986ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

editor/project_manager/project_list.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@ ProjectList::Item ProjectList::load_project_data(const String &p_path, bool p_fa
502502
if (icon.is_empty()) {
503503
WARN_PRINT(vformat("Could not load icon from UID for project at path \"%s\". Make sure UID cache exists.", p_path));
504504
}
505+
} else {
506+
// Cache does not exist yet, so ignore and fallback to default icon.
507+
icon = "";
505508
}
506509
}
507510

0 commit comments

Comments
 (0)