mmd-for-unity-proj / mmd-for-unity

MikuMikuDance for Unity
BSD 3-Clause "New" or "Revised" License
415 stars 83 forks source link

toggle "use mecanim" to create avatar cause execption #34

Open fortuneko opened 10 years ago

fortuneko commented 10 years ago

Hi, I tried the latest version of this plugin, and check the toggle "use mecanim", got the exception below: AvatarBuilder 'Len Blue Moon': Hips bone parent 'Len Blue Moon' must be included in the HumanDescription Skeleton UnityEngine.AvatarBuilder:BuildHumanAvatar(GameObject, HumanDescription) AvatarSettingScript:SettingAvatar() (at Assets/Editor/MMDLoader/Private/AvatarSettingScript.cs:54)

'Len Blue Moon' is the pmd file name, I also have tried some other pmd models got the same problem. I am using Unity 4.3 (by changing the marco "UNITY_4_2"in the scripts to "UNITY_4_2||UNITY_4_3" to make this plugin work in Unity4.3)

fortuneko commented 10 years ago

it seems that this is the problem of latest unity 4.3

GRGSIBERIA commented 10 years ago

I want to refer to your issue for debugging. Maybe, I didn't thought PMD files that implemented MMD for Unity's Mecanim function. And, I confirmed 'Len Blue Moon' on MMD. I don't understand causes that MMD views truly bone names of 'Len Blue Moon'. MMD for Unity team study the causes of an accident.

And, so sorry, "use mecanim" is a beta function. I can't guarantee to behave it as yet. MMD for Unity team implements a function for Mecanim now.