diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index 58080c08ae83..a606874c65b6 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -2318,6 +2318,7 @@ void EditorFileSystem::reimport_files(const Vector &p_files) { ResourceUID::get_singleton()->update_cache(); // After reimporting, update the cache. _save_filesystem_cache(); + _update_pending_script_classes(); importing = false; if (!is_scanning()) { emit_signal(SNAME("filesystem_changed"));