VRMConverterForVRChat icon indicating copy to clipboard operation
VRMConverterForVRChat copied to clipboard

vrc -> vrm converting error.. how can I fix this?

Open sung0910 opened this issue 8 months ago • 0 comments

1719622841469

Unity Editor: 2022.3.22f1 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 .\Library\PackageCache\[email protected]\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 <70471b9615aa4ecfa3ed1abb95b73832>:0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <70471b9615aa4ecfa3ed1abb95b73832>:0 at UniGLTF.MeshUtility.MeshAttachInfo.ReplaceMesh (UnityEngine.GameObject dst) [0x00029] in .\Library\PackageCache\[email protected]\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 .\Library\PackageCache\[email protected]\Runtime\MeshUtility\BoneNormalizer.cs:101 at VRM.VRMBoneNormalizer.Execute (UnityEngine.GameObject go, System.Boolean forceTPose) [0x00040] in .\Library\PackageCache\[email protected]\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 .\Library\PackageCache\[email protected]\Editor\VRChatToVRM\VRChatToVRMConverter.cs:167 at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001b2] in .\Library\PackageCache\[email protected]\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 UniGLTF.MeshUtility.MeshAttachInfo+<>c__DisplayClass4_0.<ReplaceMesh>b__0 (UnityEngine.Transform x) [0x00000] in .\Library\PackageCache\[email protected]\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 <70471b9615aa4ecfa3ed1abb95b73832>:0 at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] in <70471b9615aa4ecfa3ed1abb95b73832>:0 at UniGLTF.MeshUtility.MeshAttachInfo.ReplaceMesh (UnityEngine.GameObject dst) [0x00029] in .\Library\PackageCache\[email protected]\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 .\Library\PackageCache\[email protected]\Runtime\MeshUtility\BoneNormalizer.cs:101 at VRM.VRMBoneNormalizer.Execute (UnityEngine.GameObject go, System.Boolean forceTPose) [0x00040] in .\Library\PackageCache\[email protected]\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 .\Library\PackageCache\[email protected]\Editor\VRChatToVRM\VRChatToVRMConverter.cs:167 at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001b2] in .\Library\PackageCache\[email protected]\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

sung0910 avatar Jun 29 '24 01:06 sung0910