Search Unity

.obj file meshes

Discussion in 'General Graphics' started by Patrk, Apr 19, 2018.

  1. Patrk

    Patrk

    Joined:
    Apr 9, 2017
    Posts:
    48
    I have an object with 3 separate layers/meshes. I need it to be only 1 layer to import into unity. I have brought it into 3D editing programme Blender and joined the separate meshes so now only one mesh and also one UV layer. But when I export it out again as a.obj file and then import the .obj file back into unity it separates it again into 3 separate layers, why does unity do this/how to fix?
     
  2. Remy_Unity

    Remy_Unity

    Unity Technologies

    Joined:
    Oct 3, 2017
    Posts:
    703
    Could it be that each of the parts of your mesh was using a different material before you merged them ? If so, it's possible that Blender kept the assigned materials in the model, and once exported back in Unity, it's still separated (and this in totally intended).
    If you want to totally merge it, make sure that all the polygons of your mesh share the same material.
     
  3. Patrk

    Patrk

    Joined:
    Apr 9, 2017
    Posts:
    48
    Hi, I used the Decimater object modifer in blender set at 0.1 and this has solved the problem. Many thanks for your help. P