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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
Fixed in 2021.2.0b4, 2022.1.0a2