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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.