Search Issue Tracker
By Design
Votes
0
Found in [Package]
14.0.0
Issue ID
1385645
Regression
No
Decals disappear when using DE Environment package and "Decal Layers" is enabled
Reproduction steps:
1. Open the user's attached project "DE HDRP 10.4.0.zip"
2. Focus on the "DE Decal Paint Splat" under "Decals" in the Hierarchy window
3. Open "Project Settings... > HDRP Default Settings"
4. Toggle "Decal Layers" on and off under "Default Frame Settings For Camera"
Expected result: The decal is visible regardless of whether "Decal Layers" is enabled
Actual result: The decal is not visible when "Decal Layers" is enabled
Reproducible with: 12.1.4 (2021.2.12f1), 13.1.5 (2022.1.0b7), 14.0.0 (2022.2.0a4)
Could not test with: 7.7.1 (2019.4.36f1) (No "Decal Layers" setting)
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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Resolution Note:
Issue comes from the settings of the MeshRenderer component of the surface receiving the decal.
The renderering layer mask on the renderer is set to contain only layer 0, while the decal projector affects only decal layer 0, which corresponds to rendering layer 8
When ticking rendering layer 8 on the mesh renderer, the decal is correclty received when decal layer is ticked and unticked.