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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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/