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)
-
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
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
Resolution Note (fix version 12.0.0):
Fixed in: 2021.2.0b1