diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cpp index 529786c5e70..e455102fa70 100644 --- a/editor/docks/filesystem_dock.cpp +++ b/editor/docks/filesystem_dock.cpp @@ -2033,6 +2033,7 @@ void FileSystemDock::_before_move(HashMap &r_uids, Hash } } else { EditorFileSystemDirectory *current_folder = EditorFileSystem::get_singleton()->get_filesystem_path(to_move[i].path); + ERR_CONTINUE(current_folder == nullptr); List folders; folders.push_back(current_folder); while (folders.front()) {