From c45ca4ae042786b78be6166bd6f957f208adf3bd Mon Sep 17 00:00:00 2001 From: Nathan Hoad Date: Fri, 11 Apr 2025 21:45:41 +1000 Subject: [PATCH] Fix issue with playing a custom scene from a UID Co-Authored-By: Tomasz Chabora --- editor/gui/editor_run_bar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/gui/editor_run_bar.cpp b/editor/gui/editor_run_bar.cpp index 393bf7420d..7b71a376ef 100644 --- a/editor/gui/editor_run_bar.cpp +++ b/editor/gui/editor_run_bar.cpp @@ -259,7 +259,7 @@ void EditorRunBar::_run_scene(const String &p_scene_path, const Vector & String run_filename; switch (current_mode) { case RUN_CUSTOM: { - run_filename = p_scene_path; + run_filename = ResourceUID::ensure_path(p_scene_path); run_custom_filename = run_filename; } break;