Search Unity

3d object turns white when I add a texture. HELP!!!

Discussion in 'Getting Started' started by NerdFunkGangsta, Feb 13, 2021.

  1. NerdFunkGangsta

    NerdFunkGangsta

    Joined:
    Feb 13, 2021
    Posts:
    3
    Complete noob. Sorry if this has been asked before but I couldn't find anything on this anywhere.

    I've imported a textures (png.) into my assets and when I try drag it onto a 3d object (cube), the cube just turns white. Any idea why this is happening? I've tried it with different textures as well and the same thing happens. I've attached some screenshots to illustrate what I mean.

    Any help would be most appreciated. Unity texture issue 1.png Unity texture issue 2.png
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,512
    Could you show us the Inspector panel for the material assigned to the cube in your second screenshot, please? The one called "token001."
     
  3. NerdFunkGangsta

    NerdFunkGangsta

    Joined:
    Feb 13, 2021
    Posts:
    3
    Certainly :) Texture issue 3.png
     
  4. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,665
    You'll need to assign the Texture under Base Map.



    Just drag it into the gray square.
     
  5. NerdFunkGangsta

    NerdFunkGangsta

    Joined:
    Feb 13, 2021
    Posts:
    3
    Oh that worked. Thank you so much!
     
    Schneider21 likes this.
  6. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,665
    Yay :)

    As for why the cube was fully white in the end: Since there was no texture assigned yet, it took the color instead (the white square with the pipette icon next to it).
     
    BrandyStarbrite likes this.
  7. faulknordonald

    faulknordonald

    Joined:
    Sep 9, 2019
    Posts:
    173
    I'm having the same problem, except with adding a texture layer to a terrain. I am using the texture samples that come with Terrain tools. Any idea?