Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Importing a Blender model with All Textures

Discussion in 'Asset Importing & Exporting' started by SpinningTriangles, May 2, 2015.

  1. SpinningTriangles

    SpinningTriangles

    Joined:
    Feb 27, 2015
    Posts:
    8
    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
     
  2. christinanorwood

    christinanorwood

    Joined:
    Aug 9, 2013
    Posts:
    402
    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.
     
  3. SpinningTriangles

    SpinningTriangles

    Joined:
    Feb 27, 2015
    Posts:
    8
    How did you do that?
     
  4. christinanorwood

    christinanorwood

    Joined:
    Aug 9, 2013
    Posts:
    402
    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.
     
  5. kburkhart84

    kburkhart84

    Joined:
    Apr 28, 2012
    Posts:
    910
    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.
     
  6. SpinningTriangles

    SpinningTriangles

    Joined:
    Feb 27, 2015
    Posts:
    8
    Thanks. After several hours of fumbling around I figured it out. Everything works now :).
     
  7. Scrapemist

    Scrapemist

    Joined:
    May 16, 2015
    Posts:
    16
    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?
     
  8. christinanorwood

    christinanorwood

    Joined:
    Aug 9, 2013
    Posts:
    402
    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.
     
    Scrapemist likes this.
  9. Scrapemist

    Scrapemist

    Joined:
    May 16, 2015
    Posts:
    16
    Hmm yes that would explain it.
    I will give it a try.
    Thanks for the tip.
     
  10. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511
    jcarrick and Scrapemist like this.
  11. strayam8

    strayam8

    Joined:
    Sep 8, 2015
    Posts:
    1
    Could you please explain how you did it for us beginners too?Thanks.