From 46a1898edf15c39fb32ee793480faa1ccba91fc2 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 11 May 2022 14:57:07 +0900 Subject: [PATCH] error message --- .../GLTF/IO/Editor/Texture/Exporter/EditorTextureSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRMShaders/GLTF/IO/Editor/Texture/Exporter/EditorTextureSerializer.cs b/Assets/VRMShaders/GLTF/IO/Editor/Texture/Exporter/EditorTextureSerializer.cs index ee0932873..6104064a3 100644 --- a/Assets/VRMShaders/GLTF/IO/Editor/Texture/Exporter/EditorTextureSerializer.cs +++ b/Assets/VRMShaders/GLTF/IO/Editor/Texture/Exporter/EditorTextureSerializer.cs @@ -42,7 +42,7 @@ namespace VRMShaders return false; default: // Not Supported TextureImporterType - throw new ArgumentOutOfRangeException(); + throw new ArgumentException($"{texture}: textureImporter.textureType {textureImporter.textureType} is not supported. Only Default or NormalMap is supported"); } return true;