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

Sketchup to Unity problem

Discussion in 'General Graphics' started by KkiraA, Oct 28, 2016.

  1. KkiraA

    KkiraA

    Joined:
    Oct 28, 2016
    Posts:
    7
    Hello all !

    I'm a Unity beginner and I encounter some difficulties. When I import my model from Sketchup, I'm not able to change the texture. Here is a screen shoot. The cube is a Unity object, the wall and the floor are from sketchup.
    I put the same material on both of them, but as you can see, the materials doesn't appears as it should on the sketchup model. It stays grey.
    1.jpg 2.jpg I can't find the reason of this problem.
    If someone can help with this, it will be great !

    have a nice evening !
     
  2. Pa0L0

    Pa0L0

    Joined:
    Oct 9, 2016
    Posts:
    23
    I'm new to unity too, so I don't think I can help you much, but your problem could be related to the texture-coordinates not being exported correctly from Sketchup.

    How are you exporting/importing your models into Unity? Do you export the models in some specific way from Sketchup? Do you have any export option in Sketchup?

    I think this page may have the answer for you:
    https://www.linkedin.com/pulse/importing-models-unity-3d-from-google-sketchup-muhammad-faizan-atiq

    I was testing a lot with importing my models from 3dsMax and, finally, the best option that I found for me was to export from 3dsMax to FBX models (that was the only option that I found where all my texture coords were correctly exported).
     
  3. KkiraA

    KkiraA

    Joined:
    Oct 28, 2016
    Posts:
    7
  4. KkiraA

    KkiraA

    Joined:
    Oct 28, 2016
    Posts:
    7
    I find my solution, it's a bit confuse but it works !

    you have to :

    1. export your 3D model in .kmz
    2. change your filename.kmz by filename.zip
    3. extract the archive with winrar or other
    4. You get the 3D model and the texture folder
    5. Import both in Unity and then it works !
     
  5. Detniess

    Detniess

    Joined:
    Oct 28, 2014
    Posts:
    46
    Actually you can import .skp straight into Unity. Then open the imported .skp from your Unity directory and you should be able to modify your models in SU and import straight into Unity without the extra step of exporting to a different file-format. Just save the file in SU and your models get updated in Unity. A very quick and easy workflow.

    About textures.. make sure your models in SU have materials applied with textures and not just plain colors. Otherwise texture coordinates won't be generated.
     
  6. KkiraA

    KkiraA

    Joined:
    Oct 28, 2016
    Posts:
    7
    Yes, but when I do that, Unity doesn't recognize textures as it should ...
     
  7. KkiraA

    KkiraA

    Joined:
    Oct 28, 2016
    Posts:
    7
    Ok, I think I find the bug. I'm with sketchup 2015. It seems that if I import in sketchup 8 it works fine :) !
     
  8. Detniess

    Detniess

    Joined:
    Oct 28, 2014
    Posts:
    46
    Works fine with SU 2015 for me :)
     
  9. KCharlier

    KCharlier

    Joined:
    Nov 24, 2018
    Posts:
    5
    you just have tu put a texture in sketchup. not just a color. with a texture, skeych will make the UVmaps
     
  10. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,793
    Import textures:
    - You must export your model into the obj format to have textures inside your model

    tips:
    -Sketchup UV tilling/scaling is too small. always use your own created material in sketchup and change uv scale/tile first after assigning/loading texture
    - Back face culling is main problem of the sketchup for games. So always use right click/reverse face action for blue faces in sketchup. all blue faces must be white for games

    and finally i want to say that sketchup is the most easy tool to making models specially interiors for games
     
  11. Jack_AdvancedCAD

    Jack_AdvancedCAD

    Joined:
    Feb 13, 2022
    Posts:
    1
    After saving my sketchup model as a 2015 version, I can bring it into unity, I then extract textures, the textures come in but the issue I'm having is on a terrain model which has multiple texture tiles of satelite imagery, it's showing the 1 image on all the tiles. Does anyone know the solution to this?
     

    Attached Files: