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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Fixed in 2021.2.0b4, 2022.1.0a2