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
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
- Display issues in VideoPlayer when using Screen.SetResolution on certain Google Pixel devices
- Crash on Texture::TextureIDMapInsert when opening a specific project
Resolution Note (fix version 2022.2):
Fixed in: 14.0.3 (2022.2.0a15)