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

Setup OutfitでNullReferenceExceptionが発生するケースがある #840

Closed
Sayamame-beans opened this issue May 4, 2024 · 0 comments · Fixed by #846
Closed

Setup OutfitでNullReferenceExceptionが発生するケースがある #840

Sayamame-beans opened this issue May 4, 2024 · 0 comments · Fixed by #846

Comments

@Sayamame-beans
Copy link

汎用01_アレンジにゃんこのMaple向けPrefabをSetup Outfitすると以下のエラーが発生するようです。

NullReferenceException: Object reference not set to an instance of an object
nadena.dev.modular_avatar.core.editor.EasySetupOutfit+<>c__DisplayClass4_0.<FixAPose>g__avatarToOutfit|1 (UnityEngine.Transform avBone) (at ./Packages/nadena.dev.modular-avatar/Editor/EasySetupOutfit.cs:276)
nadena.dev.modular_avatar.core.editor.EasySetupOutfit+<>c__DisplayClass4_0.<FixAPose>g__FixSingleArm|0 (UnityEngine.HumanBodyBones arm) (at ./Packages/nadena.dev.modular-avatar/Editor/EasySetupOutfit.cs:241)
nadena.dev.modular_avatar.core.editor.EasySetupOutfit.FixAPose (UnityEngine.GameObject avatarRoot, UnityEngine.Transform outfitArmature) (at ./Packages/nadena.dev.modular-avatar/Editor/EasySetupOutfit.cs:230)
nadena.dev.modular_avatar.core.editor.EasySetupOutfit.SetupOutfit (UnityEditor.MenuCommand cmd) (at ./Packages/nadena.dev.modular-avatar/Editor/EasySetupOutfit.cs:185)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)

アバターはMapleとRadDoll_V2の2つを試し、両方で発生することを確認したので、多分衣装側だと思います。

Unity 2022.3.6f1
NDMF 1.4.0
MA 1.9.12

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

Successfully merging a pull request may close this issue.

1 participant