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

Models Imported With Sketchup, Textures Broken!

Discussion in 'General Graphics' started by Benzaboy2003, Aug 30, 2017.

  1. Benzaboy2003

    Benzaboy2003

    Joined:
    Jul 17, 2017
    Posts:
    25
    hi, im trying to make a open-world game, ive tried making a house in Sketchup and added textures too, when I import the model into unity the textures are 1 solid colour.

    Can Anyone Help?

    images of both editors attached.
     

    Attached Files:

  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    The textures are not one solid color. The material has a color and no texture.
    Sketchup does not include the Textures if you import it into unity.
    You have to put the textures inside of unity and assign them to the materials the belong to.
    you can try the rout via exporting to FBX , that can include the textures.
     
  3. Benzaboy2003

    Benzaboy2003

    Joined:
    Jul 17, 2017
    Posts:
    25
    its still not working, any other ideas??
     
  4. unity_YBLnZ4Q5L9oICg

    unity_YBLnZ4Q5L9oICg

    Joined:
    Jan 30, 2018
    Posts:
    1
    I am also having this issue. It must have occurred in a relatively recent update because around this time last year I was able to import sketchup files just fine with the textures. Now I'm having to import all of the textures manually...

    It looks like it's model-dependent though. Downloading some models from 3D Warehouse, the textures come inside the model. But for some, it seems that Unity doesn't actually import the textures, and I'm not sure why.
     
    Last edited: Nov 13, 2018
  5. eneroth3

    eneroth3

    Joined:
    Oct 22, 2018
    Posts:
    63
    Unity's SketchUp import is kind of broken. It looks for the file path associated with the SketchUp texture, and tries to use that file, rather than reading the texture from the SketchUp file itself.

    In many (most?) cases the path associated with the material in SketchUp is completely irrelevant. The material could be created on someone else's computer, e.g. by the SketchUp staff themselves, and reference a file that doesn't exist on this computer. SketchUp doesn't even use this path, except that it shows up as the default value when you try to change what image to use for a material.

    However you can save out the textures from SketchUp by right clicking on the material in the material inspector and select Export Texture. then you can edit the material to use that external file. Now Unity should be able to find the file. In Unity's inspector you can also externalize materials and textures from the model, but it isn't clear to me how this really works.
     
    cchoiyeonhee likes this.
  6. vijaykiran

    vijaykiran

    Joined:
    Mar 4, 2015
    Posts:
    7
    I've had the same issues. Here's what worked for me:

    - Save or download a sketchup file (myExample.skp)
    - Open .skp file in sketchup and select export it as Collada .dae
    - Click on 'Options...' button right next to Collada export dropdown
    - Make sure 'Export Texture Maps' is selected
    - Name the .dae file the same as the sketchup file (myExample.dae) and hit 'Export'
    - The .dae export will create a folder called 'myExample' with all the required textures
    - Now select myExample.skp and myExample folder together in the Finder/Windows Explorer and drag them together into Unity
    - Voila! this will import the sketchup file as well as the associated textures into Unity

    Hope this helps,
    - Vijay.
     
  7. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,890
    This is something Unity changed recently. By default it used to create a Materials folder and put the textures/materials in there, but now it defaults to looking internally at the model, which might not show the textures properly.

    It works fine for me. You just have to change it back to external materials folder.
     
    skullleeep likes this.
  8. manutoarts

    manutoarts

    Joined:
    Nov 9, 2019
    Posts:
    3
    Sketchup Standard version or Pro Version - v8 or higher:
    1. Create/open the model with Google Sketchup
    2. Align the faces of the model (In the Monochrome mode--> the bright side should be up/front)
    3. Export in .fbx format, and in the export window select Options. In that pannel, check Export two-sided faces and Export texture maps. This will create a folder with the model name in the same directory where you have it.
    upload_2020-3-25_15-50-18.png

    Unity - v3 or higher:
    5. Create a new Folder with the name of your object - Recomended
    6. Drag/Import your model textures folder exported from Sketchup previously in that folder
    7. Drag/Import your .fbx model in that same folder (You should have a structure like this: Model_folder / Model_textures , Model.fbx (these last two should be at the same folder layer))

    There's another question solved here, but this worked for me.

    I hope it works for you now
     
  9. TheMartsy

    TheMartsy

    Joined:
    Dec 27, 2017
    Posts:
    28

    I would not press export both sided material. your basicly creating way much more for unity to handle. Just make sure your face direction in sketchup is correct and it will all work fine. Here is the link how to do it
     
  10. skullleeep

    skullleeep

    Joined:
    Jun 1, 2021
    Posts:
    8
    Thank you soooooo much!!!! :)))))
     
  11. SmithySFC

    SmithySFC

    Joined:
    Jan 15, 2021
    Posts:
    11
    Thanks so much for posting this solution, worked perfectly after simply changing Material > Location --> Use External Materials (Legacy)