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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
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.