From e868a9f577ede620aeb76a60097c470de3296233 Mon Sep 17 00:00:00 2001 From: Zae Date: Fri, 26 Jan 2024 05:44:40 +0800 Subject: [PATCH] C#: Fix not assigning `runtime_initialized` when initializing with AOT. --- modules/mono/mono_gd/gd_mono.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp index 3eb746677d5..7ce2232aa45 100644 --- a/modules/mono/mono_gd/gd_mono.cpp +++ b/modules/mono/mono_gd/gd_mono.cpp @@ -395,6 +395,7 @@ void GDMono::initialize() { if (godot_plugins_initialize != nullptr) { is_native_aot = true; + runtime_initialized = true; } else { ERR_FAIL_MSG(".NET: Failed to load hostfxr"); }