Search Issue Tracker
Won't Fix
Votes
1
Found in
2022.3.62f1
6000.0.50f1
6000.1.6f1
6000.2.0b3
Issue ID
UUM-108339
Regression
No
Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
Reproduction steps:
1. Open the attached “IN-102917” project
2. Open the “Samples/Universal Render Pipeline/17.1.0/URP Package Samples/Decals/PaintSplat/PaintSplat” Scene
3. Select the “Cube” GameObject in the Hierarchy window
4. Make sure “Decals” layer is not selected in “Rendering Layer Mask” option under “Mesh Renderer” component in the Inspector window
5. Observe the “Cube” GameObject in the Game View
Expected result: Decals are not rendered
Actual result: Decals are rended
Reproducible with: 2022.3.62f1, 6000.0.50f1, 6000.1.6f1, 6000.2.0b3
Reproducible on: Ubuntu 24.04, Windows 10
Not reproducible on: No other environment tested
Note:
- The issue does not reproduce using Vulkan, DirectX11 or DirectX12 Graphics APIs
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
Thank you for reporting this issue regarding screen space decals and rendering layer masks in OpenGL.
After investigation, we've confirmed that while URP's Screen Space Decals do use Rendering Layer Masks, this functionality is not supported when using the OpenGLCore Graphics API. This is a documented limitation of our rendering pipeline.
For reference, our documentation states: "Rendering Layers are not supported on OpenGL and OpenGL ES API." You can find more details in our URP documentation here: [https://docs.unity3d.com/6000.0/Documentation/Manual/urp/features/rendering-layers-introduction.html]
If this functionality is important for your project, we recommend switching to another supported Graphics API such as Vulkan, DirectX11, or DirectX12, where rendering layer masks for decals work as expected.
We appreciate your detailed report which helps us improve our documentation and user experience.