esperecyan / VRMConverterForVRChat

https://pokemori.booth.pm/items/1025226
Mozilla Public License 2.0
189 stars 23 forks source link

System.ArgumentException: AddBlendShape() input arrays size must match mesh vertex count #73

Open aiya000 opened 2 months ago

aiya000 commented 2 months ago

下記入力にて、タイトルのエラーが起きました…

image

エラー内容:

System.ArgumentException: AddBlendShape() input arrays size must match mesh vertex count
  at (wrapper managed-to-native) UnityEngine.Mesh.AddBlendShapeFrame(UnityEngine.Mesh,string,single,UnityEngine.Vector3[],UnityEngine.Vector3[],UnityEngine.Vector3[])
  at UniGLTF.MeshUtility.MeshIntegrator.AddBlendShapesToMesh (UnityEngine.Mesh mesh) [0x00016] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshIntegrator.cs:66 
  at UniGLTF.MeshUtility.MeshIntegrator.Integrate (System.String name, UniGLTF.MeshUtility.MeshIntegrator+BlendShapeOperation op) [0x00191] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshIntegrator.cs:408 
  at UniGLTF.MeshUtility.MeshIntegrator.TryIntegrate (UniGLTF.MeshUtility.MeshIntegrationGroup group, UniGLTF.MeshUtility.MeshIntegrator+BlendShapeOperation op, UniGLTF.MeshUtility.MeshIntegrationResult& result) [0x0005c] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshIntegrator.cs:285 
  at Esperecyan.Unity.VRMConverterForVRChat.Utilities.CombineMeshesAndSubMeshes.CombineAllMeshes (UnityEngine.GameObject root, System.String destinationObjectName, System.Collections.Generic.IEnumerable`1[T] notCombineRendererObjectNames, System.Boolean savingAsAsset) [0x0004b] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\Utilities\CombineMeshesAndSubMeshes.cs:66 
  at Esperecyan.Unity.VRMConverterForVRChat.Utilities.CombineMeshesAndSubMeshes.Combine (UnityEngine.GameObject root, System.Collections.Generic.IEnumerable`1[T] notCombineRendererObjectNames, System.String destinationObjectName, System.Boolean savingAsAsset) [0x00000] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\Utilities\CombineMeshesAndSubMeshes.cs:31 
  at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.Convert (System.String version, System.String outputPath, UnityEngine.GameObject instance, VRM.VRMMetaObject meta, System.Collections.Generic.IDictionary`2[TKey,TValue] presetVRChatBindingPairs, System.Boolean keepUnusedShapeKeys) [0x0020c] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\VRChatToVRM\VRChatToVRMConverter.cs:167 
  at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001b2] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\UI\VRChatToVRMWizard.cs:309 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <27124aa0e30a41659b903b822b959bc7>:0 
  at (wrapper managed-to-native) UnityEngine.Mesh.AddBlendShapeFrame(UnityEngine.Mesh,string,single,UnityEngine.Vector3[],UnityEngine.Vector3[],UnityEngine.Vector3[])
  at UniGLTF.MeshUtility.MeshIntegrator.AddBlendShapesToMesh (UnityEngine.Mesh mesh) [0x00016] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshIntegrator.cs:66 
  at UniGLTF.MeshUtility.MeshIntegrator.Integrate (System.String name, UniGLTF.MeshUtility.MeshIntegrator+BlendShapeOperation op) [0x00191] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshIntegrator.cs:408 
  at UniGLTF.MeshUtility.MeshIntegrator.TryIntegrate (UniGLTF.MeshUtility.MeshIntegrationGroup group, UniGLTF.MeshUtility.MeshIntegrator+BlendShapeOperation op, UniGLTF.MeshUtility.MeshIntegrationResult& result) [0x0005c] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshIntegrator.cs:285 
  at Esperecyan.Unity.VRMConverterForVRChat.Utilities.CombineMeshesAndSubMeshes.CombineAllMeshes (UnityEngine.GameObject root, System.String destinationObjectName, System.Collections.Generic.IEnumerable`1[T] notCombineRendererObjectNames, System.Boolean savingAsAsset) [0x0004b] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\Utilities\CombineMeshesAndSubMeshes.cs:66 
  at Esperecyan.Unity.VRMConverterForVRChat.Utilities.CombineMeshesAndSubMeshes.Combine (UnityEngine.GameObject root, System.Collections.Generic.IEnumerable`1[T] notCombineRendererObjectNames, System.String destinationObjectName, System.Boolean savingAsAsset) [0x00000] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\Utilities\CombineMeshesAndSubMeshes.cs:31 
  at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.Convert (System.String version, System.String outputPath, UnityEngine.GameObject instance, VRM.VRMMetaObject meta, System.Collections.Generic.IDictionary`2[TKey,TValue] presetVRChatBindingPairs, System.Boolean keepUnusedShapeKeys) [0x0020c] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\VRChatToVRM\VRChatToVRMConverter.cs:167 
  at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001b2] in .\Packages\jp.pokemori.vrm-converter-for-vrchat\Editor\UI\VRChatToVRMWizard.cs:309 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <27124aa0e30a41659b903b822b959bc7>:0 

どうか助けてください… 🙏