From 9ad34ecc3e25ebe53184def16e43ad231afcd437 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 11 Jan 2025 22:15:59 +0100 Subject: [PATCH] Fix UID path remap --- core/io/resource_loader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index 423d424aeafd..e0ee310a1a33 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -1226,6 +1226,7 @@ String ResourceLoader::_path_remap(const String &p_path, bool *r_translation_rem } else { // Try file remap. // Usually, there's no remap file and FileAccess::exists() is faster than FileAccess::open(). + new_path = ResourceUID::ensure_path(new_path); if (FileAccess::exists(new_path + ".remap")) { Error err; Ref f = FileAccess::open(new_path + ".remap", FileAccess::READ, &err);