Search Issue Tracker
Fixed in 6.6.0
Votes
0
Found in [Package]
5.8.2-preview
Issue ID
1138033
Regression
No
[Shader Graph] Having multiple Custom Function Nodes with multiple functions from the same source produces errors
Reproduction steps:
1. Open "SG_CustomInclude.zip" project
2. Reimport "TestGraph" shader
3. Notice error
Expected Result: Having multiple Custom Function Nodes with multiple functions from the same source produce errors
Actual Result: You can use multiple Custom Function Nodes with multiple functions without errors
Reproduced with: 2019.2.0a9, 2019.1.0b8, 2018.3.10f1
Did not reproduce on: 2017.4.24f1 (No pacman)
Error:
Shader error in 'Shader Graphs/TestGraph': redefinition of 'globalA' at Assets/Shaders/CustomInclude.hlsl(1) (on d3d11)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Version Control window during "Create workspace" updates only when the mouse is moved
- Crash on AudioMixer::GetFloat when entering Play Mode in a specific project
- Test assembly files are not generated when using a local package included in a subdirectory
- URP Terrain Shaders are always included when building on any target platform
- Multiple errors thrown and Scene/Game view is not rendered when Lighting Override Mask is set to the same layer as the Volume
Add comment