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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
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.