Search Issue Tracker
Fixed
Votes
0
Found in [Package]
12.0.0
Issue ID
1315434
Regression
No
[Shadergraph] Subgraph node precision is overriden when it does not match the parent shadergraph's precision
Reproduction steps:
1. Download and open the attached project "SubGraphBug.zip"
2. Double-click the HalfPrecisionTest asset to open it in the shader graph editor
3. Right-click HalfPrecisionTestSub and press Show Generated Code
Expected result: Unity_Sine_float method uses float In and out float Out parameters
Actual result: Unity_Sine_float method uses half In and out half Out parameters
Reproducible with: 7.5.3 (2019.4.22f1), 10.3.2 (2020.3.1f1), 11.0.0 (2021.1.0b12) 12.0.0 (2021.2.0a9)
Could not test with: 2018.4.32f1 (Shadergraph files would break)
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
- Long Light GameObject names are overflowing the "Light Batching Debugger" text fields
- Terrain Add Tree, Add Detail Mesh and Add Grass Texture windows use light Editor theme error icon only and lack help box
- Not clear abbreviation "LD" on the "2D Light" Overlay
- Tutorial Framework package version is not upgraded to 5.0.X by default when creating a new project
- "Light 2D Component" has low resolution icons in the Inspector
Resolution Note:
Fixed in 2021.2.0b4, 2022.1.0a2