VRMConverterForVRChat icon indicating copy to clipboard operation
VRMConverterForVRChat copied to clipboard

Export VRM file from VRChat avatarでのエラー

Open youkizato opened this issue 10 months ago • 7 comments

Unity Editor: 2022.3.6f1 VRM Converter for VRChat: 41.1.0 UniVRM: 0.121.0

System.NullReferenceException: Object reference not set to an instance of an object at UniGLTF.MeshUtility.MeshAttachInfo+<>c__DisplayClass4_0.<ReplaceMesh>b__0 (UnityEngine.Transform x) [0x00000] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshAttachInfo.cs:23 at (wrapper delegate-invoke) System.Func2[UnityEngine.Transform,UnityEngine.Matrix4x4].invoke_TResult_T(UnityEngine.Transform) at System.Linq.Enumerable+SelectArrayIterator2[TSource,TResult].ToArray () [0x00012] in :0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <de4a1a1490a74771a34fee0d1d586658>:0 at UniGLTF.MeshUtility.MeshAttachInfo.ReplaceMesh (UnityEngine.GameObject dst) [0x00029] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshAttachInfo.cs:23 at UniGLTF.MeshUtility.BoneNormalizer.Replace (UnityEngine.GameObject go, System.Collections.Generic.Dictionary2[TKey,TValue] meshMap, System.Boolean FreezeRotation, System.Boolean FreezeScaling) [0x000f1] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\BoneNormalizer.cs:101 at VRM.VRMBoneNormalizer.Execute (UnityEngine.GameObject go, System.Boolean forceTPose) [0x00040] in .\Packages\com.vrmc.univrm\Runtime\SkinnedMeshUtility\VRMBoneNormalizer.cs:85 at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.Convert (System.String version, System.String outputPath, UnityEngine.GameObject instance, VRM.VRMMetaObject meta, System.Collections.Generic.IDictionary2[TKey,TValue] presetVRChatBindingPairs, System.Boolean keepUnusedShapeKeys) [0x0020b] 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 <eef08f56e2e042f1b3027eca477293d9>:0 at UniGLTF.MeshUtility.MeshAttachInfo+<>c__DisplayClass4_0.<ReplaceMesh>b__0 (UnityEngine.Transform x) [0x00000] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshAttachInfo.cs:23 at (wrapper delegate-invoke) System.Func2[UnityEngine.Transform,UnityEngine.Matrix4x4].invoke_TResult_T(UnityEngine.Transform) at System.Linq.Enumerable+SelectArrayIterator2[TSource,TResult].ToArray () [0x00012] in <de4a1a1490a74771a34fee0d1d586658>:0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in :0 at UniGLTF.MeshUtility.MeshAttachInfo.ReplaceMesh (UnityEngine.GameObject dst) [0x00029] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\MeshAttachInfo.cs:23 at UniGLTF.MeshUtility.BoneNormalizer.Replace (UnityEngine.GameObject go, System.Collections.Generic.Dictionary2[TKey,TValue] meshMap, System.Boolean FreezeRotation, System.Boolean FreezeScaling) [0x000f1] in .\Packages\com.vrmc.gltf\Runtime\MeshUtility\BoneNormalizer.cs:101 at VRM.VRMBoneNormalizer.Execute (UnityEngine.GameObject go, System.Boolean forceTPose) [0x00040] in .\Packages\com.vrmc.univrm\Runtime\SkinnedMeshUtility\VRMBoneNormalizer.cs:85 at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.Convert (System.String version, System.String outputPath, UnityEngine.GameObject instance, VRM.VRMMetaObject meta, System.Collections.Generic.IDictionary2[TKey,TValue] presetVRChatBindingPairs, System.Boolean keepUnusedShapeKeys) [0x0020b] 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 :0

よろしくお願いいたします。

youkizato avatar Apr 28 '24 11:04 youkizato