Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2020.3
2021.2
2021.2.11f1
2022.1
2022.2
Issue ID
1408016
Regression
No
[HDRP] Shader Graph generated code includes unused Interpolators when using certain Shader Graph target and pass configurations
How to reproduce:
1. Open the user-submitted project
2. In the Project window, select the Asset "FabricShaderGraph" (Assets/FabricShaderGraph.shadergraph)
3. In the Inspector window, click "View Generated Shader"
4. In the generated Shader code, inspect the Interpolators of the DepthForwardOnly pass (line 4396)
Expected result: positionCS, normalWS, tangentWS and instanceID are seen
Actual result: positionCS, positionRWS, normalWS, tangentWS, texCoord1, texCoord2 and instanceID are seen
Reproducible with: 7.7.1 (2019.4.36f1), 10.8.1 (2020.3.30f1), 12.1.5 (2021.2.15f1), 13.1.7 (2022.1.0b11), 14.0.0 (2022.2.0a7)
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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Resolution Note (fix version 2022.2):
Fixed in: 14.0.3 (2022.2.0a15)