Search Unity

Bug Enums don't work?

Discussion in 'Shader Graph' started by Win3xploder, May 26, 2020.

  1. Win3xploder

    Win3xploder

    Joined:
    Dec 5, 2014
    Posts:
    161
    On HDRP 9, enum keywords seem to not do anything. When switching the enum keyword in the editor, nothing happens. Only the first index is ever run. Is this a bug? Am I doing something wrong?
     
  2. Shaunyowns

    Shaunyowns

    Joined:
    Nov 4, 2019
    Posts:
    328
    I'll see if I can get someone to take a look at this post for you :)
     
  3. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    Do you have a screenshot of your blackboard? What did you input?
     
  4. Shaunyowns

    Shaunyowns

    Joined:
    Nov 4, 2019
    Posts:
    328
    Can confirm that this is a bug in Shader Graph which has fixed in the next version of SRP 9-preview!