diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index abb10822564..00b527443da 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -318,7 +318,11 @@ Ref ResourceLoader::load_interactive(const String &p_ if (OS::get_singleton()->is_stdout_verbose()) print_line("load resource: "+local_path+" (cached)"); - return RES( ResourceCache::get(local_path ) ); + Ref res_cached = ResourceCache::get(local_path); + Ref ril = Ref(memnew(ResourceInteractiveLoaderDefault)); + + ril->resource = res_cached; + return ril; } if (OS::get_singleton()->is_stdout_verbose())