Search Issue Tracker
Fixed in 2017.2.0f3
Votes
33
Found in
5.2.1p1
Issue ID
743462
Regression
No
[Occlusion culling] Performance spike in Culling when Camera is not rendering every frame
Reproduction steps:
1. Download and open the repro project form the attached link
2. Open and play the "CorridorDemo" scene (Assets\Scenes)
3. Check in the profiler, that ever 2 seconds, when FakeCamera calls to Render function, it shows a performance spike on Culling call
Note:
- When on "FakeCamera" Culling Mask is set only to "water" layer there aren't any spikes. Spikes are about from 5 ms to 18 ms.
- This culling spike problem relates to realtime reflection probes as well. Performance spikes are higher about 10 ms when realtime reflection probe (set to render all elements) is rendered faster than every 0.5 s.
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
shubhamswaraj2021
Aug 19, 2020 13:09
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
BrucePhillips
Jul 11, 2020 12:51
Tried this and it worked. Thanks for sharing. <a href="https://www.beststampedconcrete.com/naples.html">fort myers stamped concrete"</a>
concretecolumbia
Dec 16, 2019 17:20
Why doesn't it work in my end?
https://www.charlottejunkremovalservice.com/
maxgray1
Oct 01, 2019 12:15
Your actual writings capabilities are good. You've got to publish even more.
https://pokecoinsblaster.club
https://simsimoleons.club
https://battlecatsxp.xyz
https://shadow2gems.club
https://bowlingkingcash.xyz
jmitcheson
Jul 12, 2017 03:33
In which release is this issue fixed? It is appearing on the "Known issues" list for 2017.2
tnqiang
Feb 23, 2017 11:54
Occurs in Unity 5.5.0p3.
And the cpu consume is always high.
Mikael-H
Dec 16, 2016 14:29
Seeing this in 5.4.1f as well
Rickywild
Apr 12, 2016 12:24
I'm getting spikes that drop CPU below 30FPS Unity 5.3.4f1 (64 - bit) In profiler found under Camera.Render->Culling->SceneCulling.
Also off subject slightly, Canvas.Buildbatch for the UI develops these game stopping spikes.
I've only just noticed these today as i've been waiting for Unity 5.3.5 to be released;I've been told this version will fix the Physics spikes that lag the hell out of my game.
There sure are a lot of bugs
Rycons
Feb 11, 2016 18:12
This issue still persists on Unity version 5.3.2p3.
Culling is frequently spiking above 90ms which is constantly stalling our game.
blunzn
Feb 10, 2016 21:37
There is a long thread about this, it seems to be a more general threading problem, where "WaitingForJobs" is causing occasional hangs.
See @LeonH's comment here: http://forum.unity3d.com/threads/occlusion-culling-cpu-spike-in-profiler.314978/#post-2347076
And yes it happens in an empty scene too. See my comment here:
http://forum.unity3d.com/threads/occlusion-culling-cpu-spike-in-profiler.314978/#post-2482733