Search Issue Tracker
Fix In Review for 12.0.x
Votes
0
Found in [Package]
12.0.0
Issue ID
1347235
Regression
Yes
[Shadergraph] Shaders turn grey when Fog is 0
When a shadergraph shader uses Fog, and the Fog is not enabled, the shaders just turn grey.
To repro:
- download UOP1_Project.zip
- open it with the latest Unity 2021.2 and 2022.1
- open the Test scene
- notice that the cube is grey
- in the Rendering Settings, toggle Fog on and off and notice that the material appears correctly
This is a regression from 2020.3 and 2021.1, and causes problems for projects upgrading to 2021.2 or 2022.1
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 12.0.x):
This was recently broken and should now work as expected by returning a density of 0 when fog is disabled