Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
10.10.1
12.1.7
13.1.8
14.0.3
15.0.1
Issue ID
SGB-358
Regression
No
Shader Graph atan2 function is defined incorrectly
Steps to reproduce:
1. Open the “IN-18938” project
2. Open the “test” script (Assets folder)
3. Notice the parameters given to the atan2 function
Expected result: The function is called atan2(y, x)
Actual result: The function is called atan2(x, y)
Reproducible with: 10.10.1 (2020.3.41f1), 12.1.7 (2021.3.14f1), 13.1.8 (2022.1.23f1), 14.0.3 (2022.2.0b16), 15.0.1 (2023.1.0a20)
Reproduced on: macOS Monterey 12.5.1 (Intel)
Note: The code is copied from [https://docs.unity.cn/Packages/com.unity.shadergraph@8.0/manual/Polar-Coordinates-Node.html|https://docs.unity.cn/Packages/com.unity.shadergraph@8.0/manual/Polar-Coordinates-Node.html|smart-link]
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
Our current design for binary operations are to use an alphabetical (A or B) distinction to indicate left-hand and right-hand operands. In this case, our atan2 node matches this pattern. With that in mind, we are looking at refreshing our port names and this node is in consideration for future changes.