If someone doesn’t mind following these steps and reporting your results, and especially an answer on how to fix the issue, I would very much appreciate it. Could be a bug in Unity, or at least something they could add better support for if the issue is with Blender.
-
Go here and download this ZIP file (just contains 1 blend file): http://www.blendswap.com/blends/characters/jhow/
-
Unzip the download and save the blend file anywhere.
-
In Unity select Assests->Import, and select the blend file.
At this point I get an Asset added to my Unity project, but it only has an Avatar object under it, and nothing else. If I drag/drop the model to my scene, I only get the XYZ cube thing used to move models around, but no model at all. Trying to set any rig options doesn’t work of course, because Unity sees no mesh, bones, etc.
The blend file itself works and looks great when you open in Blender. The bone setup appears to be Unity-friendly, other than the names of the bones… but from what I understand, Unity should still let you work with the model, just the auto-bone-mapping feature might not work.
I do get an error in Blender if I try to export to FBX, but I know the FBX export in Blender isn’t top-notch, so I don’t think that is a sign that the blend file really is invalid/corrupt. I also tried export to OBJ format and also 3DS from Blender, but no matter what format I try to import to Unity, it is still just an empty model. Actually the 3DS format was weird, it had a model, but no textures or anything, and wasn’t even the correct model – maybe 3DS files have some “default” model or something, or maybe Blender is just really bad about exporting to other formats (which is why I love the fact that Unity can read blend files directly – usually).
Edit: While waiting for this to be approved by a moderator, I found this:
http://docs.unity3d.com/Documentation/Manual/HOWTO-ImportObjectBlender.html
So now I understand that Unity uses the Blender FBX export. So obviously since Blender gives errors when I try to export to FBX, it will not work in Unity. I will try to figure out the errors in the Blender->FBX export log, there were probably 30, but please answer if you already know the issue or can help, thanks.
This is the warning I get when I export to FBX. It does create an FBX file that is 922KB, but when I import either the .blend file or the .fbx file to Unity, it doesn’t import anything as stated above.
Also, incase not obvious, here is what Unity looks like after I import the .blend file and also the .fbx. Just “empty” assets, only the avatar object under each, nothing else. No errors or anything in Unity that I can see or find saying “import failed” or anything like that.


Usually export to fbx is perfectly fine for me. Have you fiddled around with the fbx export settings? I had trouble with importing/exporting with blender (animations not comming through, bones going crazy, etc) but no real errors. After changing some of the import settings, it was fine. What version of blender do you have?
– Meater6What errors? I've never had issues with blender exports in 2.x, though 3.x's fbx exporter seems to be made of fail and uneditable to boot. In your asset's import settings, is your size set to 0.01 (the default)? That makes things very tiny.
– LoiusI'm installing everything on Mac so I can check now. This was my home PC which I can't get more info until tonight. I doubt it was a scale issue though, because I should still see some objects under the asset in the tree view, not just the avatar object (for most models I import I have at least 1 mesh, and also the 3D object model under the parent item/asset unity created, in the tree view). Unity is installing on Mac now, so hopefully more info with solid details and screen shots also...
– shopguyBlender version 2.65a is what I'm using, but I don't know what version the .blend file was created in. I did try opening in my version and resaving though, and same results.
– shopguyYou know, you can accept the answer yourself. You don't need a moderator to do it :)
– Meater6