Skip to content

Commit 759fb58

Browse files
committed
Merge pull request godotengine#105277 from nathanhoad/fix-play-custom-scene-with-uid
Fix issue with playing a custom scene from a UID
2 parents 98c204a + c45ca4a commit 759fb58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/gui/editor_run_bar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ void EditorRunBar::_run_scene(const String &p_scene_path, const Vector<String> &
259259
String run_filename;
260260
switch (current_mode) {
261261
case RUN_CUSTOM: {
262-
run_filename = p_scene_path;
262+
run_filename = ResourceUID::ensure_path(p_scene_path);
263263
run_custom_filename = run_filename;
264264
} break;
265265

0 commit comments

Comments
 (0)