Importing a Blender model with All Textures

Hello everyone,

I’ve spent quite a long time trying to figure this out, but I’m having a lot of issues importing a skinned model from blender into Unity 5. After I create the model what steps do I need to take in order to Import all textures, in the exact configuration from Blender into Unity. For example, say I have a simple house with a roof texture and a brick texture for the sides, what steps do I have to take in order for everything to import properly? If you’d like to give a detailed answer, feel free. You can also just describe the general steps to take and I can research them in depth.

Thanks

I find it works best to import the textures into Unity before importing the model (I use fbx). Just tried it with Unity 5, worked OK.

How did you do that?

I had a small building with a texture. I dragged and dropped the texture into the Project panel, and then dragged and dropped the fbx file into the Project panel.

I see you mention “exact” in your request for help there. If you are hoping to get all of Blender’s stuff working with Unity, you are out of luck. Many of the texture settings, and all of the Blender procedural textures, among other things, are simply not going to work. For the model and textures to work, it needs to be UV mapped, and needs to be an external texture, or one that is created and exportable from Blender, so no “clouds”, “noise”, etc… from Blender, unless you bake them to a “real” texture that you export.

I’m not sure if this is where you are trying to go with this, but just in case I thought I should mention that detail.

Thanks. After several hours of fumbling around I figured it out. Everything works now :).

Mind sharing what made it work?
I’m having trouble with it aswell. Got all the textures uv-mapped but only one of them is showing correctly in unity when importing the fbx. Others are all distorted. Looks as if it only uses one UV map for all textures. Any idea where to look?

I think Unity does allow only one UV map per object. If you have several meshes, each with different UV map in Blender, you could separate each one out as an object and import to Unity as a group.

1 Like

Hmm yes that would explain it.
I will give it a try.
Thanks for the tip.

I actually use a group of python scripts to export from Blender to Unity. Along with exporting models and animation with a single Blender shortcut, my script iterates through all the meshes in my Blender file and copies the necessary textures to my Unity Asset environment. Details of how I do this are here:

http://undertheweathersoftware.com/index.php/2015/07/01/blender-to-unity-asset-builder/

2 Likes

Could you please explain how you did it for us beginners too?Thanks.