diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cpp index e455102fa70..e9629d3ebe9 100644 --- a/editor/docks/filesystem_dock.cpp +++ b/editor/docks/filesystem_dock.cpp @@ -991,6 +991,9 @@ void FileSystemDock::_update_file_list(bool p_keep_selection) { // Display the favorites. Vector favorites_list = EditorSettings::get_singleton()->get_favorites(); for (const String &favorite : favorites_list) { + if (!favorite.begins_with("res://")) { + continue; + } String text; Ref icon; if (favorite == "res://") {