Search Issue Tracker
Active
Votes
0
Found in
2021.3.45f1
2022.3.51f1
6000.0.25f1
6000.1.0a2
Issue ID
UUM-85456
Regression
No
Fog density value is not returned when using the Fog node in a sprite Shader Graph
How to reproduce:
1. Open the attached “IN-86269” project
2. Open the “SampleScene” and Observe the Game view
3. Select the “Image” GameObject in the Hierarchy (Canvas/Image)
4. In the Inspector, expand the material properties by pressing the “>” arrow under the “sprite_material”
5. Toggle the “fog_test” boolean value on and off
6. Observe the result
Expected result: The image stays red, regardless of the “fog_test” value
Actual result: The image is black when the “fog_test” value is “true”
Reproducible in: 2021.3.45f1, 2022.3.51f1, 6000.0.25f1, 6000.1.0a2
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
* There is also a cube in the scene with the same setup using a standard unlit Shader Graph, where the issue is not reproducible
* Multiplying boolean values is not supported in 2021.3, so there is a separate 2021.3 project where the values (0 and 1) must be assigned manually
* Also reproducible in Player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Metal] "undeclared identifier 'RemapFoveatedRenderingResolve'" error is thrown when compiling a shader
- "NullReferenceException" is logged when adding a visual element to a list using the Item Template setting
- Errors are thrown and the view is not rendered properly when using Overlay Camera with Non-Default 2D Renderer
- Fog density value is not returned when using the Fog node in a sprite Shader Graph
- UI ToolKit ListView does not rebind some of the items when source data changes
Add comment