Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- 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
Add comment