Search Issue Tracker
Fix In Review for 2022.1.X
Votes
9
Found in
2021.2
2021.2.0f1
2022.1
Issue ID
1383719
Regression
No
Decal is not displayed when Fog is enabled
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Go to Window -> Rendering -> Lighting
4. In the Lighting window, select the Environment tab and go to Other Settings
5. Disable Fog
6. In the Hierarchy window, double-click the GameObject "Decal"
7. Observe the appearance of the Decal in the Scene view
8. Enable Fog again
9. Repeat step 7
Expected result: the Decal illustration is visible both with and without Fog
Actual result: the Decal area becomes solid grey when Fog is enabled
Reproducible with: 2021.2.5f1, 2022.1.0a16
Could not test with: 2019.4.33f1 (error CS0115: 'CustomRenderPassFeature.CustomRenderPass.OnCameraSetup(CommandBuffer, ref RenderingData)': no suitable method found to override), 2020.3.24f1 (UniversalRenderer is missing RendererFeatures)
Comments (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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Peter77
Jan 26, 2022 10:44
Related forum thread:
https://forum.unity.com/threads/unitys-decal-renderer-dont-get-affected-by-linear-or-exponential-fog.1203403/