From 680ed7f612b0a448aab6d574cbd68124ea0c9e55 Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 7 Apr 2023 23:34:52 +0200 Subject: [PATCH] Make sure script cache is created after reimport --- editor/editor_file_system.cpp | 1 + 1 file changed, 1 insertion(+) 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"));