From c339abe1aafd7ca6f1e279a3583bb301e6240858 Mon Sep 17 00:00:00 2001 From: Spencer Chang Date: Tue, 1 Aug 2023 01:28:36 -0700 Subject: [PATCH] Added path to output of missing import texture metadata (cherry picked from commit 57d9e3bb0ed334cee9b81f7409e5b8c30e7ae9f3) --- editor/import/resource_importer_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index e81e836e9eb..e05a968459d 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -417,7 +417,7 @@ void ResourceImporterTexture::_save_editor_meta(const Dictionary &p_metadata, co Dictionary ResourceImporterTexture::_load_editor_meta(const String &p_path) const { Ref f = FileAccess::open(p_path, FileAccess::READ); - ERR_FAIL_COND_V_MSG(f.is_null(), Dictionary(), "Missing required editor-specific import metadata for a texture; please, reimport."); + ERR_FAIL_COND_V_MSG(f.is_null(), Dictionary(), vformat("Missing required editor-specific import metadata for a texture (please reimport it using the 'Import' tab): '%s'", p_path)); return f->get_var(); }