Search Issue Tracker
Fixed in 6000.0.68f1
Fixed in 6000.3.8f1, 6000.4.0b8, 6000.5.0a7
Under Consideration for 6000.0.X
Votes
0
Found in
6000.2.11f1
6000.3.0b9
6000.4.0a4
Issue ID
UUM-126027
Regression
No
ShaderGraph fails to compile the Dynamic Branch Enum when the Enum entry names are edited
How to reproduce:
- Create and open a new project
- Install ShaderGraph in (Window → Package Management → Package Manager → Unity Registry)
- Create a new ShaderGraph asset in the Project tab
- Open the ShaderGraph
- 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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 6000.0.68f1):
Fixed in 6000.3.8f1
Resolution Note (fix version 6000.5.0a7):
Fixed in 6000.5.0a7
Resolution Note (fix version 6000.4.0b8):
Fixed in 6000.4.0b8
Resolution Note (fix version 6000.4.0b8):
Fixed in 6000.3.8f1
Resolution Note (fix version 6000.3.8f1):
Fixed in 6000.3.8f1