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. Dismiss Notice

Question Importing material/texture does not appear on the object

Discussion in 'Editor & General Support' started by Hunlight, Jun 22, 2023.

  1. Hunlight

    Hunlight

    Joined:
    Jun 22, 2023
    Posts:
    1
    Hello,
    Im fresh Unity student and got a problem out here, I got an object which is wooden crate. I created material, imported all the textures (Albedo/metallic/height/normal etc) then drag and drop onto the object and all it does is change that object part into similar looking color to the material instead of showing the texture it got.

    What do I miss? here is a few pics of both material and obejct:
    upload_2023-6-22_12-41-38.png

    upload_2023-6-22_12-42-11.png
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,561
    Is the object properly unwrapped UV-wise? If not, you'll see it all as one color, no texture.

    If you want to get the UVs correct, go drop it back in your 3D editor program.

    If you wanna go cheesy-easy, this script will create triplanar-ish UV coordinates at runtime.

    Try drop it on your object and run.

    https://github.com/kurtdekker/makegeo/blob/master/makegeo/Assets/setuvtoworld/SetUVToWorld.cs