From dc05e5b5eb8e91ef9f33690cc68b8a4a8f939dbb Mon Sep 17 00:00:00 2001 From: Perfare Date: Mon, 29 Jul 2019 00:25:26 +0800 Subject: [PATCH] Fixed bug --- AssetStudioUtility/ModelConverter.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AssetStudioUtility/ModelConverter.cs b/AssetStudioUtility/ModelConverter.cs index ba92663..67711a0 100644 --- a/AssetStudioUtility/ModelConverter.cs +++ b/AssetStudioUtility/ModelConverter.cs @@ -854,6 +854,11 @@ namespace AssetStudio if (binding.typeID == ClassIDType.SkinnedMeshRenderer) //BlendShape { var channelName = GetChannelNameFromHash(binding.attribute); + if (string.IsNullOrEmpty(channelName)) + { + curveIndex++; + return; + } int dotPos = channelName.IndexOf('.'); if (dotPos >= 0) {