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.

Tree scaling problem

Discussion in 'Editor & General Support' started by janpec, Jun 21, 2018.

  1. janpec

    janpec

    Joined:
    Jul 16, 2010
    Posts:
    3,520
    Hey guys, i have a wierd issue in regards to placing trees on terrain, all of them have bark part and leaf part of asset scaled differently, which is wierd because mesh isnt even split. Anyone knows what is causing issue?
    It happens to all tree assets.
    Screenshot_e9915.png
     
  2. janpec

    janpec

    Joined:
    Jul 16, 2010
    Posts:
    3,520
    I should note that tree was not created with Tree creator, its custom mesh.
     
  3. janpec

    janpec

    Joined:
    Jul 16, 2010
    Posts:
    3,520
    Ok so i narrowed it down a bit more. Looks like by default having 2 materials per tree creates submeshes even if in Unity it shows only 1 mesh. Looks like this causes issue but i dont know why would that be problem since Tree creator trees also have 2 materials but they scale just fine.
     
  4. janpec

    janpec

    Joined:
    Jul 16, 2010
    Posts:
    3,520