Search Unity

imported tree prefab in HDRP to put on terrain is pink

Discussion in 'Shaders' started by stefan_games, Jun 24, 2020.

  1. stefan_games

    stefan_games

    Joined:
    Jun 18, 2020
    Posts:
    1
    Its exactly as I said. I imported the free "DreamForestTree" asset but the tree is pink. When I check the tree's materials they're pink too.

    Here are some screenshots:
    upload_2020-6-24_16-7-26.png
    upload_2020-6-24_16-7-37.png

    I already tried selecting the materials, then going to Edit > Render Pipeline > Upgrade selected materials to high defenition materials which did not work.

    How do I fix this? Thanks
     
    leozhang1 and NathGamer like this.
  2. daniellye

    daniellye

    Joined:
    Oct 11, 2019
    Posts:
    6
    Hello, sometimes clicking on 'Upgrade project materials to high definition materials' doesn't work on every material. In my experience imported trees and foliage are often unaffected for some reason.

    When that happens, you may need to manually change the material's shader mode to HDRP/Lit.

    upload_2020-9-9_17-40-55.png

    The material appears pink when the shader is still in the default Standard mode, which is incompatible with HDRP.

    Hope this helps!

    Daniel
     
    leozhang1 likes this.
  3. Encel4dus

    Encel4dus

    Joined:
    Apr 7, 2020
    Posts:
    1
    when i do that i get spamed with errors