Search Issue Tracker
By Design
Votes
0
Found in
6000.0.58f1
6000.1.16f1
6000.2.5f1
6000.3.0b2
6000.5.0a1
Issue ID
UUM-117426
Regression
No
In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
To reproduce:
1. Open the attached “IN-115065_DeferredMixedLightingBug.zip“ project
2. Open the “Assets/Scenes/DeferredMixedLightingBug.unity” Scene
3. Note that the “Spot Light” GameObjects have their "Mode" set to "Mixed"
4. Note that the “Decal Projector” GameObject has its "Rendering Layers" set to "Default"
5 Note that the “Sphere” GameObjects have their "Rendering Layer Mask" set to "No Decals"
6. Observe the Scene view
7. In the "Decal" renderer feature in the "Assets/Settings/PC_Renderer.asset", enable "Use Rendering Layers"
7. Observe the Scene view
Expected result: The decal no longer covers the spheres, but nothing else changes
Actual result: The decal no longer covers the spheres, but the mixed lighting also disappears
Reproducible with: 6000.0.58f1, 6000.1.16f1, 6000.2.5f1, 6000.3.0b2
Reproducible on: M1 Max MacOS 15.5, Windows 10 (Tested by CQA)
Note:
- This issue is only present with the “Deferred“ and “Deferred+“ Rendering Paths
- “Metal: Error creating pipeline state (Hidden/Universal Render Pipeline/ClusterDeferred): input of type float4 is not compatible with a MTLPixelFormatR8Uint color attachment. (null)“ Error is also thrown when using “Metal“ Graphics Backend
Workaround: Enable "Use Rendering Layers" in the advanced properties in the "Lighting" tab in "PC_RPAsset.asset",
iterate through all lights in the project, and change their "Rendering Layers" from "Default" to "Everything"
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
- Spring Joint shows only one anchor gizmo in Scene view when "Auto Configure Connected Anchor" is enabled
- Crash on _platform_memmove after entering large value in Graphics settings Preloaded Shaders field
- Disproportionally large impact on CPU frame time when writing to a rendering entity's LocalToWorld
- "Constant Force" Component numeric fields drift out of view while entering a really big value in the Inspector
- Scene view camera speed pop-up appears empty or cut off when Scene view is very narrow
Resolution Note:
The project didn't enable the use of light layers in the URP asset as well as for the decal renderer feature. The decal is not applied to the spheres if the rendering layers are enable. I have tested this for each renderer type and gotten the same result.