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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Fixed in 2021.2.0b4, 2022.1.0a2