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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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.