Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
2019.4
2019.4.17f1
2020.2
2021.1
2021.2
Issue ID
1315362
Regression
No
[URP] Method calls for shadow and light data are made even when there's no shadows or lights in a scene
Repro steps:
1. Open attached project
2. Enable Deep Profiling
3. Build and Run on any platform supported by URP
4. Connect the Profiler
Actual: Notice the calls to ForwardRenderer::SetupLight, UniversalRenderPipeline::InitializeShadowData, AdditionalLightShadowCasterPass::Setup, UniversalRenderPipeline::InitializeAdditionalCameraData
Reproducible with: 2019.4.21f1 (URP 7.5.3), 2020.1.17f1 (URP 8.3.1), 2020.2.6f1 (URP 10.3.1)
Notes:
- Couldn't connect the Profiler in 2021.1 and 2021.2
-
Resolution Note:
CommandBuffer execution performance is improved. This bug description contains some improvement suggestions but those are not causing faulty behaviour or noticeable performance. We parsed and roadmapped the improvements so our team can look at it.
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #1277222