esperecyan / VRMConverterForVRChat

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

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

Closed omills122 closed 9 months ago

omills122 commented 2 years ago

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\jp.pokemori.vrm-converter-for-vrchat@30.0.0\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\jp.pokemori.vrm-converter-for-vrchat@30.0.0\Editor\VRChatToVRM\VRChatToVRMConverter.cs:172 at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001c4] in D:\New Unity Project\Library\PackageCache\jp.pokemori.vrm-converter-for-vrchat@30.0.0\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\jp.pokemori.vrm-converter-for-vrchat@30.0.0\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\jp.pokemori.vrm-converter-for-vrchat@30.0.0\Editor\VRChatToVRM\VRChatToVRMConverter.cs:172 at Esperecyan.Unity.VRMConverterForVRChat.UI.VRChatToVRMWizard.OnWizardCreate () [0x001c4] in D:\New Unity Project\Library\PackageCache\jp.pokemori.vrm-converter-for-vrchat@30.0.0\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

esperecyan commented 2 years ago

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

omills122 commented 2 years ago

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.

esperecyan commented 2 years ago

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

esperecyan commented 1 year ago

Does this issue also occur with VRM Converter for VRChat v40.1.1?

esperecyan commented 9 months ago

There is no reply, so I close this.