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
- Scene Filter buttons reset to "All" in the Occlusion Window when entering Play Mode but the Scene Filters themselves do not reset
- Transition property is not disabled in the UI Builder when it is set by a variable
- Crash on PersistentManager::GetSerializedType when opening a specific Scene
- GlobalObjectId.GetGlobalObjectIdSlow returns empty ID when in Prefab Isolation Mode
- Crash on Transform::RemoveFromParent when deleting a child GameObject
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.