Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aiya000 opened this issue Aug 22, 2024 · 0 comments

Comments

@aiya000
Copy link

aiya000 commented Aug 22, 2024

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

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 

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant