From 5a82eadd2d95f4312f7d9bbcb9cf307d00f3eb96 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 (cherry picked from commit 680ed7f612b0a448aab6d574cbd68124ea0c9e55) --- 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 0807d457cb..75437772f9 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -2328,6 +2328,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"));