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
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
- Diagnostic Warning Resets When Navigating Away and Returning to Diagnostics Settings
- Checkbox Collides with Text in Shader Graph Preferences Settings
- Crash on mecanim::animation::TransformValuesFromClip when entering the Play Mode in a project with Animancer Pro v8
- Connection to Named Pipes fails when server and client are run
Resolution Note (fix version 2022.2):
Fixed in: 14.0.3 (2022.2.0a15)