diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs index 308cc413c..0ea1925ec 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs @@ -58,7 +58,10 @@ namespace UniGLTF Textures.Add(key, targetPath); } - throw new Exception($"{texture} is not converted."); + else + { + throw new Exception($"{texture} is not converted."); + } } ///