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
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
- [Linux] The mouse wheel input is inverted when scrolling in the Build
- TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
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.