VRMConverterForVRChat icon indicating copy to clipboard operation
VRMConverterForVRChat copied to clipboard

System.NullReferenceException: Object reference not set to an instance of an object at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.RemoveInactiveObjectsAndDisabledComponents

Open omills122 opened this issue 2 years ago • 3 comments

Unity Editor: 2019.4.31f1 VRChat SDK: 2021.11.24.16.20 VRM Converter for VRChat: 30.0.0 UniVRM: 0.90.1

System.NullReferenceException: Object reference not set to an instance of an object at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.RemoveInactiveObjectsAndDisabledComponents (UnityEngine.GameObject instance) [0x00076] in D:\New Unity Project\Library\PackageCache\[email protected]\Editor\VRChatToVRM\VRChatToVRMConverter.cs:243 at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.Convert (System.String outputPath, UnityEngine.GameObject instance, VRM.VRMMetaObject meta, System.Collections.Generic.IDictionary2[TKey,TValue] presetVRChatBindingPairs, Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.DynamicBoneReplacer+ParametersConverter swayingParametersConverter) [0x001e6] in D:\New Unity Project\Library\PackageCache\[email protected]\Editor\VRChatToVRM\VRChatToVRMConverter.cs:172 at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001c4] in D:\New Unity Project\Library\PackageCache\[email protected]\Editor\UI\VRChatToVRMWizard.cs:262 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.RemoveInactiveObjectsAndDisabledComponents (UnityEngine.GameObject instance) [0x00076] in D:\New Unity Project\Library\PackageCache\[email protected]\Editor\VRChatToVRM\VRChatToVRMConverter.cs:243 at Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.VRChatToVRMConverter.Convert (System.String outputPath, UnityEngine.GameObject instance, VRM.VRMMetaObject meta, System.Collections.Generic.IDictionary2[TKey,TValue] presetVRChatBindingPairs, Esperecyan.Unity.VRMConverterForVRChat.VRChatToVRM.DynamicBoneReplacer+ParametersConverter swayingParametersConverter) [0x001e6] in D:\New Unity Project\Library\PackageCache\[email protected]\Editor\VRChatToVRM\VRChatToVRMConverter.cs:172 at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001c4] in D:\New Unity Project\Library\PackageCache\[email protected]\Editor\UI\VRChatToVRMWizard.cs:262 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0

Get this error when export vrm file from vrchat avatar

omills122 avatar Dec 11 '21 00:12 omills122

Thank you for your report. Can you provide model and steps to reproduce the problem?

esperecyan avatar Dec 11 '21 01:12 esperecyan

Model is: https://booth.pm/en/items/3379542

I am taking prefab, unpacking completely, then deleting unused items/costumes/setting costumes and hitting export vrm from vrchat avatar.

omills122 avatar Dec 12 '21 03:12 omills122

Since I do not have a 3D model that can reproduce the problem, I am unable to investigate the cause.

esperecyan avatar Dec 16 '21 05:12 esperecyan