From 19a94159a2412f4238865201a92ecff561e454c0 Mon Sep 17 00:00:00 2001 From: KaiN Date: Wed, 4 Jun 2025 15:24:39 +0200 Subject: [PATCH] Fix async resource loading progress on empty p_original_path --- core/io/resource_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index 42b6c3c1f46..4ebd297ab99 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -296,7 +296,7 @@ Ref ResourceLoader::_load(const String &p_path, const String &p_origin // Avoid double-tracking, for progress reporting, resources that boil down to a remapped path containing the real payload (e.g., imported resources). bool is_remapped_load = original_path == parent_task_path; if (E && !is_remapped_load) { - E->value.sub_tasks.insert(p_original_path); + E->value.sub_tasks.insert(original_path); } } load_paths_stack.push_back(original_path);