Search Issue Tracker

Won't Fix

Votes

27

Found in

5.5.0b5

Issue ID

837604

Regression

No

Occlusion Culling does not cull shadow casters

Camera

-

To reproduce:
1. Open provided project
2. Open Assets/Scene/Scene.unity
3. Open Windows/Occlusion Culling and switch to the Visualization tab
4. Press Play
5. Switch to Scene View
6. Rotate Main Camera
7. Observe cubes are culled, but their shadows are not.

Reproducible: 5.5.0b6, 5.4.1p4, 5.3.6p7

Comments (8)

  1. shubhamswaraj2021

    Aug 22, 2020 10:48

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

  2. eheimburg

    Oct 25, 2018 22:24

    It's been resolved "Won't Fix" so we can't vote on it. And it is, indeed, not fixed. At least, not in 2017.4.

    BUT there seems to be a new feature in 2018.2 that may help: Light components have a new field called layerShadowCullDistances. This should let you cull distant game objects by setting them up in special layers. (The same way that Camera cull distances work.) In fact according to the docs, in 2018.2 the shadows are automatically culled by camera cull distances, so just setting up camera distance culling may fix it.

    We can't switch to 2018 until we replace all our particles, but if someone has 2018 and can report whether this helps, it'd be appreciated.

  3. PridefulSloth

    Nov 03, 2017 01:48

    fwiw, it appears our issue was with directional lights. Setting QualitySettings -> ShadowProjection from CloseFit to StableFit has _huge_ improvement in shadow caster occlusion issues for us.

    So definitely a bug here with that setting, occlusion shouldn't be worse than with just frustum culling on.

  4. Peter77

    Oct 23, 2017 15:36

    It's been more than a year since this issue has been added to the public issue tracker, yet no bug-fix available. Frustrating.

  5. zmaxz

    Jun 30, 2017 03:46

    Unity 5.6.1p2
    Still no fix!!

  6. PridefulSloth

    May 15, 2017 05:20

    Agreed, this makes performance worse in a lot of cases.

  7. Wolfkingdom

    May 14, 2017 16:33

    How can Unity ignore such a blatant FPS killer! And it should be easy to fix (just turn on the occlusion culling when processing the shadows. Maybe someone can fix that by fixing the code or the shaders?

  8. Angry-Hobbit

    Apr 27, 2017 18:52

    This is a HUGE issue. I am not sure why others are not voting on this. Shadow casters KILL performance (frame rates). Please fix asap.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.