From 68c8fed9ddd27de1d67082208afe7c8035c67f8f Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Tue, 25 May 2021 17:57:40 +0900 Subject: [PATCH] Fix bug --- .../Editor/UniGLTF/ScriptedImporter/TextureExtractor.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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."); + } } ///