Maya couldn't convert mb file to an fbx file?

I recently installed Maya 2015 and now I get this error when unity loads the mb file. All my maya files are mb in my unity asset folder I always convert my fbx to mb so I can work on the object in Maya and change it, fbx files I cannot edit.

Usually I create objects with Maya and save normally as .mb files and all works ok. Today it complains, I don’t want Maya to convert to fbx I want it to stay as an mb file, why is it complaining now.

I also tested, when I duplicate a working mb file, the copy will remain a piece of white paper and the error of the convert comes up. I tried saving it in Maya 2014 and now it does the same error message, now I am unable to create any objects in Maya and use them in Unity. All my objects are mb and they work, only the new one I create now don’t work. Help Please.

I went back to 10.8 and opened the same Unity.app and the same programming folder, the files also had a white paper, so I reimported and the 3d object loaded and it worked. The files were not converted to fbx and stayed as an mb. This all happened when I installed Maya 2015. Maya 2014 cannot open Maya 2015 files.

Hi,

The problem is that Unity attempts to load the FBX plug-in by absolute path, which has changed for version 2015. Until they implement a proper remedy, you can manually change the template script for FBXMayaMain.mel in your Unity application folder. Specifically, change the first loadPlugin call to this (Mac):

loadPlugin "fbxmaya.bundle";

If you’re using Windows, it should be:

loadPlugin "fbxmaya.mll";

may be maya 2015 is not supporting by unity .

try to use maya 2013 or maya 2014 …because some time its happen then newer version software is not compatible .

Same happened to me. Manually export as .fbx to get around the issue until Unity resolves.

Hi,

I have a fix for this. (for windows users at least)

Open the file located in …Program Files (x86)\Uniter\Editor\Data\Tools called “FBXMayaMain.MEL”

above the first “if” conditional check for versioning add the following:

if (getApplicationVersionAsFloat() >= 2015)
{
	loadPlugin "fbxmaya.mll";
	eval ("source \"!//UNITY_TEMP//!/FBXMayaExport.mel\"");
}

Maya doesn’t need the path data to find its’ own plugin (and it was apparently moved this version… perhaps), but Unity apparently still needs its’ own temp reference for its’ loading script (the one you just edited).

note, you’ll need to use a text editor in Administrator mode (I use Notepad++ launched as admin).

solved the problem atleast for me.

[edit]
also NOTE: Unity is still having problems closing Maya in the background launch, even though Unity no longer “hangs” in this situation, it also doesn’t bother closing the Maya instance either… so ya. kinda annoying still.