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
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)
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.
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.
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.
zmaxz
Jun 30, 2017 03:46
Unity 5.6.1p2
Still no fix!!
PridefulSloth
May 15, 2017 05:20
Agreed, this makes performance worse in a lot of cases.
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?
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.