Search Issue Tracker
Fixed
Fixed in 2021.3.51f1, 2022.3.61f1, 6000.0.43f1, 6000.1.0b11, 6000.2.0a6
Votes
0
Found in
2021.3.45f1
2022.3.51f1
6000.0.25f1
6000.1.0a2
6000.2.0a1
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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Add comment