Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Weird shader behaviour in build only

Discussion in 'Editor & General Support' started by pierre92nicot, Mar 25, 2019.

  1. pierre92nicot

    pierre92nicot

    Joined:
    Aug 21, 2018
    Posts:
    57
    https://gyazo.com/fe8e2b64c05e09947b1e997eeeee5f79
    https://gyazo.com/f3ef1bf0700a08f7aa30f84b6c45af20

    The trees use custom shaders (nature manufacture)

    I have tried to include all my customs shaders in "always included shaders" (Project setting/Graphic) but with no effect.

    Even standard shaders do not display properly in build (everything is working fine in editor), I have tried to include standard shader in "always included shaders" without success.

    TextMeshPro do not render correctly (Have tried to include TextMeshPro shader)

    I am starting to lose my mind as everything was working fine few days ago :(

    If anyone could help.

    Using unity 2018.3.5f1, single pass, realtime GI and forward rendering (VR project).

    (Windows 10 gtx 1060)

    Thanks.
     
  2. pierre92nicot

    pierre92nicot

    Joined:
    Aug 21, 2018
    Posts:
    57
    andynatusch and fffMalzbier like this.
  3. andynatusch

    andynatusch

    Joined:
    Dec 27, 2017
    Posts:
    3
    I am having this exact same issue. Did you figure it out? Is asset bundles the only way to fix this?
     
  4. pierre92nicot

    pierre92nicot

    Joined:
    Aug 21, 2018
    Posts:
    57
    If you have some huge textures(8k), you can try to enable texture compression.
    Good luck.