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; }