From f63186f707ce7bb0f2d3ece66169f61ca9c2225b Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 24 Dec 2025 22:59:58 +0100 Subject: [PATCH] Ensure scene paths in autoload settings --- editor/settings/editor_autoload_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/settings/editor_autoload_settings.cpp b/editor/settings/editor_autoload_settings.cpp index f4dc71802bf..a2122a48ff2 100644 --- a/editor/settings/editor_autoload_settings.cpp +++ b/editor/settings/editor_autoload_settings.cpp @@ -393,7 +393,7 @@ Node *EditorAutoloadSettings::_create_autoload(const String &p_path) { // Cache the scene reference before loading it (for cyclic references) Ref scn; scn.instantiate(); - scn->set_path(p_path); + scn->set_path(ResourceUID::ensure_path(p_path)); scn->reload_from_file(); ERR_FAIL_COND_V_MSG(scn.is_null(), nullptr, vformat("Failed to create an autoload, can't load from UID or path: %s.", p_path));