diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 02ae15b80d92..88bd90be9812 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -979,6 +979,9 @@ void FileSystemDock::_update_file_list(bool p_keep_selection) { } } } else { + if (!directory.begins_with("res://")) { + directory = "res://" + directory; + } // Get infos on the directory + file. if (directory.ends_with("/") && directory != "res://") { directory = directory.substr(0, directory.length() - 1);