Add an Enum to the Blackboard in the ShaderGraph asset
Drag it into the viewport
Select the Enum keyword
In the Graph Inspector, change the Definition to “Dynamic Branch“
Rename any of the entries to anything
Observe the ShaderGraph Viewport and the Console
Expected result: The node in the Viewport is rendered with no errors, and no warnings are thrown
Actual result: The node in the Viewport has a “syntax error: unexpected token ';' at line 187” error, and warnings in the Console are thrown
Reproducible in: 6000.2.0a10, 6000.2.11f1, 6000.3.0b9, 6000.4.0a4
Could not test in: 6000.0.62f1, 6000.1.0a10 (No Dynamic Branch Definition)
Workaround: Change the name of the entry to any other string
Note: Saving the ShaderGraph when it has the error throws a “Shader error in ‘Shader Graphs/hidden/preview/Enum_2be7c86c99624c9dbbf36af16b492ec7': syntax error: unexpected token ';' at /(179) (on d3d11)“ error
Prioritise and Follow this issue
Have a workaround or additional info about this issue?