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
- Opening many tabs in the same tab group doesn't automatically scroll to the newly opened tab
- MeshCollider does not detect collisions with Capsules and CharacterController when using Physics.ComputePenetration
- UI Toolkit Debugger search text cursor and background text are overlapping
- Screen.resolutions does not return the correct list of supported resolutions when called on a MacBook Pro with a notch
- Changing Environment Profiles in Lighting window throws "NullReferenceException" error
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/