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.
  2. Dismiss Notice

Bug Shader Graph 7.x Enum Keyword: material doesn't update when new entries are added.

Discussion in 'Shader Graph' started by bitinn, Jan 5, 2021.

  1. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    958
    Hi,

    Shader Graph 7.x latest doesn't update Keyword Enum for material when new entries are added, the dropdown options in Inspector view remains unchanged.

    I can only get them to show up by changing the Keyword's Reference name.

    I hope this is one of the fix that will be backported, otherwise this render Keyword Enum unmodifiable once in use.

    Thx
     
  2. wiz_vanmeter

    wiz_vanmeter

    Joined:
    Jan 19, 2016
    Posts:
    2
    I just ran into this as well using Unity 2019.4.21f1 and Shader Graph 7.5.3

    Changing the reference name works around this bug, thanks. Note that the old reference name is permanently unusable because it locks the enums to be whatever they were at the moment you saved the shader.