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
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
Resolution Note (fix version 12.0.0):
Fixed in: 2021.2.0b1