Search Issue Tracker
Fixed in 12.0.0
Votes
4
Found in [Package]
12.0.0
Issue ID
1338703
Regression
No
"floating point division by zero" warning is thrown when a Sample Gradient Node is connected to Albedo slot
How to reproduce:
1. Open the user's attached "Testing Shader.zip" project
2. Selected the "BuggedShader" Shader Graph
3. Observe the Inspector window
Expected result: No warnings are thrown in the Inspector window
Actual result: Two "floating point division by zero" warnings are thrown in the Inspector window
Reproducible with: 7.6.0 (2019.4.27f1), 10.5.0 (2020.3.10f1), 11.0.0 (2021.1.8f1), 12.0.0 (2021.2.0a17)
Comments (3)
-
Hovl
Nov 24, 2024 23:20
Still exist in Unity 2022 using Scene depth node with Eye value.
-
morepixels
Aug 12, 2021 22:16
Trying to find a workaround in https://forum.unity.com/threads/globally-suppress-pow-f-e-negative-f-warning.963488/
-
Rex1_
May 30, 2021 20:37
Any way to bypass this bug ?
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 12.0.0):
Fixed in: 2021.2.0b1