Search Issue Tracker
By Design
Votes
2
Found in
5.6.1f1
Issue ID
912590
Regression
No
ShadowCaster culling executed for each light even when light itself is culled due to culling mask
Steps to reproduce:
1. Open attached project
2. Open "asdf" scene
3. Enter play mode
*there are two cameras in the scene: 'Main Camera' with the culling mask set to everything and 'UICamera' with the culling mask set to UI*
4. Open the profiler and navigate to Camera.Render->Culling->SceneCulling->CullAllVisibleLights->Shadows.CullDirectionalShadowCasters
Expected behavior: directional light is not drawn in the UICamera AND culling is not executed (Shadows.CullDirectionalShadowCasters being called only once in this scene for the 'Main Camera')
Actual result: directional light is not drawn in the UICamera but culling is executed nevertheless (Shadows.CullDirectionalShadowCasters being called twice)
Reproducible with: 5.6.0f1, 5.6.1p1, 2017.1.0b6
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Antony-Blackett
Apr 26, 2018 05:14
This is also an issue if you have turned off shadows in Quality settings. Precious time is wasted culling shadow casters even though shadows is off.
David-Lindsay
Dec 16, 2017 10:07
I have the same issue.
Occlusion Culling is culling shadow casters that should not be culled, resulting in popping shadows everywhere.