Merge pull request #105277 from nathanhoad/fix-play-custom-scene-with-uid

Fix issue with playing a custom scene from a UID
This commit is contained in:
Thaddeus Crews 2025-04-11 09:51:13 -05:00
commit 759fb58636
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -259,7 +259,7 @@ void EditorRunBar::_run_scene(const String &p_scene_path, const Vector<String> &
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;