From 772a3d357cbc8fbdab474615484ba6982bbc8774 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 1 Sep 2021 16:12:33 +0900 Subject: [PATCH] Error Message --- .../GLTF/IO/Runtime/OcclusionMetallicRoughnessConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRMShaders/GLTF/IO/Runtime/OcclusionMetallicRoughnessConverter.cs b/Assets/VRMShaders/GLTF/IO/Runtime/OcclusionMetallicRoughnessConverter.cs index b4770ceac..90acc6b95 100644 --- a/Assets/VRMShaders/GLTF/IO/Runtime/OcclusionMetallicRoughnessConverter.cs +++ b/Assets/VRMShaders/GLTF/IO/Runtime/OcclusionMetallicRoughnessConverter.cs @@ -93,7 +93,7 @@ namespace VRMShaders var occlusionPixels = linearOcclusion.GetPixels32(); if (metallicSmoothPixels.Length != occlusionPixels.Length) { - throw new NotImplementedException(); + throw new NotImplementedException("Resizing not implemented, please ensure Metallic and Occlusion textures are the same size!"); } for (int i = 0; i < metallicSmoothPixels.Length; ++i) {