Freeze on importing .mb files

I have Maya 2011 installed and Unity will freeze when importing .mb files. So I cannot use the locomotion system as the sample contains an .mb etc.

Does anyone else have this issue?

me too…

Today installed and all mb and ma files froze…

Help?

bump :?

Which Unity are you using? Unity 2.6 is not compatible with Maya 2011 (because Unity 2.6 was build before Maya 2011, so we could ensure that compatibility).

What you should try is:

  1. Find FBXMayaExport.mel in Unity directory
  2. Back it up somewhere
  3. Replace
if (`exists FBXConvertUnitString`)
{
    FBXConvertUnitString cm;
}

by

if (`exists FBXExportConvertUnitString`) // This command should take precedence over the following
{
    FBXExportConvertUnitString cm;
}
else if (`exists FBXConvertUnitString`) // This command is deprecated in 2011
{
    FBXConvertUnitString cm;
}

Let me know if that works.

or you could export your maya scene as fbx version 2010. but you need to enable the maya fbx plugin in window → Settings/preferences → Plugin-manager.

then you can change your file type in the fbx export options to fbx and in the fbx export settings, set the fbx version to 2010 and there we go. you can now import your scene file to unity.

Hi Paulius
I tryed to change the mel code but It didnt work! It still freezes!

I use fbx but It would be nice to have the mb file work again!

I know this is an older post, but I recently had issues importing an even older project into Unity 2.6 with Maya 2011 installed. Paulius’s suggestion worked great when the mb’s in the project kept freezing the import