diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cpp index 3d4e1d9f57e..a6293240d97 100644 --- a/editor/docks/filesystem_dock.cpp +++ b/editor/docks/filesystem_dock.cpp @@ -981,6 +981,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://") {