Search Issue Tracker

Fixed in 8.0.0

Votes

1

Found in [Package]

6.7.0

Issue ID

1158413

Regression

Yes

[ShaderGraph] Changing precision of SG with SubGraphs that still use the other precision breaks the generated shader

Package: Shader Graph

-

Reproduced in SRP master of 5/28/19, 2019.3.0a5.

1) Open up the attached SubGraphs.zip inside a SG project pointing to master.
2) Open up the NestedBoy.shadergraph (not NestedBoy_a.shadergraph)
3) Change the graph-wide precision to Half (instead of Float)

Result:
- PlanetBlend & MaterNode will spawn an error badge & the shader breaks with 'undeclared identifier `Unity_Multiply_Float`'

Comments (1)

  1. mikeustwo

    Dec 20, 2019 22:11

    It would be great to get the subgraphs to inherit the precision

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.