Problems with importing 3d-models from Blender

Hello!

I’m an Unity and 3d-modelling beginner. I got a few problems when importing 3d-models from Blender.
I’ve created a simple cube, added an UV and “noise” texture to it.
Then I’ve saved the cube in the Assets-folder and Unity update and import the .blend file but for some reason I can’t drag and drop the cube into my project. Also the small picture next to the cube look like a plain piece of paper instead of a prefab-image.

Is there something I’ve forgotten to do in Blender or in Unity?

PS: I use the 30day trial version of Unity, if that somehow matter in this case.

Any help is much appriciated!

– Christian

You’re not the only one.

http://forum.unity3d.com/viewtopic.php?t=22053

I’m using the Indie version on Windows Vista with the latest version of Blender and the proper Python installation. I’ve submitted the error to bug reporting.

Hi,
does saving under a new name help ?

Can you try the FBX Exporter from blender and see if there is the same (unusable) result ?

–
oxl

I’m not sure if saving under a new name would give a different result, but I doubt it since I created a test file with the default Blender cube and that wouldn’t import, either. Well, more accurately, the Blender files can be imported, they just can’t be used.

The FBX exporter in Blender works, and I can import those FBX files into Unity 2.5 with no issues.

Hm, AFAIK the default blender cube isnt supposed to be working, you should delete it (the cam the light, too) , save the empty scene as user preference (CTRL-U) and then manually create a cube.
It should be usable after importing , no ?

–
oxl

I’ll give it a shot tonight. It wasn’t working with my other models, either. But I don’t think I deleted the camera(s) or the lights from those scenes. Is that a requirement?

Take a look here : http://www.unifycommunity.com/wiki/index.php?title=Blender under “Scene Cleanup”.

–
oxl

I just tried deleting the cube and saving the user defaults as well as saving my .blend file to a different directory and renaming it. No joy.

The original poster PM’d me and let me know that the suggestions didn’t work for him, either.

Ok , i have no more ideas here, sorry. It works for me (and shurely for others) perfectly.

Maybe there is something new (wrong) with Unity 2.5, I dont know.

Though, personally I prefer using the blender FBX exporter instead of saving the the .blend files directly into my asset folder, because :

  • I save many and often renaming the file using an increasing number at the end of the filename and I dont want to have my asset folder being filled up with old versions of a mesh.

  • Its much more nicer to have an exported FBX file inside the scene , which you can “serve” (export) whatever .blend file version you would like to.

–
oxl

Just tried it (Indy version - Blender 248.1 - Win XP) with no problem other than the texture didn’t come through. It dragged out onto the stage okay.

This was saving just the stock cube with color and a marble texture as a blend file on the desktop and using the import asset option to import it into Unity.

It’s probably a Vista thing.

Lousy Vista.

Hi All,

This is definitely a Vista issue. I had installed Blender using the .exe installer.

So I uninstalled Blender and “reinstalled” to c:\blender by uncompressing the zip file archive they provide on the download page. Then I just made sure that the user defaults pointed to the scripts subdirectory and voila!

Now Blender is properly integrated in the Unity editor. :smile: