Someone please HELP!!
I created a character in Maya 2011. Just before I started rigging the character, I imported it into Unity via FBX - worked 100%!
After rigging the character, something weird it happening. At first it looked like my model disappeared, but I realized that the joints have scaled down to 0.01 instead of 1. I used the scale factor in Unity, but nothing works. Only the top joint of the hierarchy is scaled to 1, the joints below it remains 0.01.
I’ve checked my Maya file, and all the joints are at scale 1. When I manually scale every joint to 1 in Unity, the character looks fine, but that poses a huge problem for animation, since you can’t scale the joints in the Project panel of the animation files. Any ideas? Please! Painting the weights was a huge task, and I would not like to redo it.
UPDATE…
I’ve detached the skin of the character, made a couple of joints without touching them in any way - then I skinned the model to the new joints and exported to FBX and the same effect happens. The joint at the top of the hierarchy is fine, but everything below it is down to 0.01, which means that I can’t import any animation for the character, even if I manually scale the joints to 1!
SOLUTION!!!
I’ve found the solution! I’m posting this so that if anyone else comes across this problem, they won’t bang their heads against the wall (like I did).
There is a joint scale conversion problem with Maya 2011 and FBX. I read somewhere that Maya added some new features to the FBX export to allow for non-uniform scale compensation. This results in bad data for Unity. Here’s the solution, and it’s really simple:
Select your mesh with your joints (you can only select the group or the very top object/joint in the hierarchy) and export to FBX using Maya 2006 version.
Next, create a new scene in Maya and import that file you just exported. Your model will look about 10x bigger than in your original scene, but resist from scaling it - unity will interpret it correctly. Clear your selection and goto export all. Export your FBX for unity with the 2006 version again. Now when you go into unity, the scale will be perfect!
I hope it helps!