Search Unity

Bug Unlit sprite shader doesn't work

Discussion in 'Shader Graph' started by Sinister-Design, Jan 12, 2021.

  1. Sinister-Design

    Sinister-Design

    Joined:
    Sep 19, 2015
    Posts:
    66
    Pretty much what it says in the title.

    Create a Lit Sprite shader in Shader Graph, add a Sample Texture 2D node, drag a sprite in the main texture property, connect the Sample Texture 2D node to the Color input in the Fragment part of the end stack--it works fine.

    Then go to Graph Settings and under Universal, turn the Material from Sprite Lit to Sprite Unlit. The image will simply disappear (and in some cases, become replaced with a gray base color).
     
  2. itsdan

    itsdan

    Joined:
    Mar 25, 2021
    Posts:
    1
    Having the same issue