Search Issue Tracker
Fixed
Votes
1
Found in
2022.2.2f1
2023.1.0a25
Issue ID
UUM-22327
Regression
Yes
[URP] Rendering Layers break lights when using Forward or Forward+ Rendering Paths
Reproduction steps:
1. Open project “URP 14 Bug Report Render Layers”
2. Open “SampleScene” scene
3. Observe the Scene view
Expected result: 3 different cubes react to different rendering layers, and one cube reacts to all rendering layers
Actual result: All cubes are not reacting to the 3 spotlights in the scene, only the directional light
Reproducible with: 2022.2.0b16, 2022.2.2f1, 2023.1.0a25
Not reproducible with: 2021.3.16f1, 2022.2.0b15
Couldn’t test with: 2020.3.43f1 (no option “use rendering layers”)
Reproducible on: Catalina 10.15.7 (Intel)
Workaround: In “URP-HighFidelity-Renderer (Universal Renderer Data)“ set the Rendering Path to “Deferred”
Notes:
- User reported that the same issue also appears using Decals
- The lights work properly when completely disabling rendering layers in the “URP-HighFidelity” asset
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-20184