From e0f644a48da49843ad63a06982af85f13783899c Mon Sep 17 00:00:00 2001 From: RedworkDE <10944644+RedworkDE@users.noreply.github.com> Date: Fri, 31 Mar 2023 11:53:16 +0200 Subject: C#: Fix editor integration breaking and causing error spam when reloading assemblies fails - Do not reload scripts from non-collectible assemblies - Do not load GodotTools as collectible - Do not attempt to reload the same project assembly forever --- modules/mono/mono_gd/gd_mono.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/mono/mono_gd/gd_mono.h') diff --git a/modules/mono/mono_gd/gd_mono.h b/modules/mono/mono_gd/gd_mono.h index 398f94d924..c629ab2eff 100644 --- a/modules/mono/mono_gd/gd_mono.h +++ b/modules/mono/mono_gd/gd_mono.h @@ -68,6 +68,7 @@ class GDMono { String project_assembly_path; uint64_t project_assembly_modified_time = 0; + int project_load_failure_count = 0; #ifdef TOOLS_ENABLED bool _load_project_assembly(); @@ -144,6 +145,7 @@ public: #endif #ifdef GD_MONO_HOT_RELOAD + void reload_failure(); Error reload_project_assemblies(); #endif -- cgit v1.2.3