Search Issue Tracker
Fixed
Fixed in 6000.0.52f1, 6000.3.0a1
Votes
0
Found in
2022.3.60f1
6000.0.44f1
6000.1.0b12
6000.2.0a8
6000.3.0a1
Issue ID
UUM-102007
Regression
No
ShaderGraph error is thrown when the first subgraph output isn't previewable
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/New Shader Sub Graph.shadersubgraph“ subgraph
3. Change the type of the output to Sampler State
4. Observe the Console window
Expected result: No errors are thrown
Actual result: “Shader error in 'Sub Graphs/Master': cannot convert from 'int' to 'struct SurfaceDescription' at /(172) (on d3d11)” error is thrown
Reproducible with: 2022.1.0a1, 2022.3.60f1, 6000.0.44f1, 6000.1.0b12, 6000.2.0a8
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Workaround: Adding a float or vector output in slot 1 and assign it a constant value
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
- Warning icon for the "Asset Import Overrides" has low visibility in Light Unity theme
Add comment