From e5a7fdbfd52d079872a6f2f463a09e00634079a8 Mon Sep 17 00:00:00 2001 From: onequid Date: Mon, 19 Jan 2026 14:05:21 +0800 Subject: [PATCH] Ensure debug features get cleared --- editor/run/editor_run.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/run/editor_run.cpp b/editor/run/editor_run.cpp index 29509820f4d..847e4c7da64 100644 --- a/editor/run/editor_run.cpp +++ b/editor/run/editor_run.cpp @@ -189,7 +189,8 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V if (!p_scene.is_empty()) { running_scene = p_scene; } - + // Clear debug features in environment + OS::get_singleton()->unset_environment("GODOT_EDITOR_CUSTOM_FEATURES"); return OK; }