Question by
nyonge · Apr 22, 2016 at 06:17 AM ·
editorperformanceoptimizationlagspikes
Regular stutters in performance after a minute or two
After a couple minutes of gameplay, my game starts seeing HUGE spikes in performance, bringing the FPS from an average of 200 down to about 25-30. Nothing changes in my scene before these start beginning, and it seems to be affecting everything: rendering takes longer, script execution, "overhead" all take multiple times as long per frame as they normally would.
Any idea why this is happening? Sometimes if I pause the editor for a bit then resume playback it stops, so I suspect it's an editor bug. Still, it gets in the way of playtesting and testing performance - any insight would be hugely appreciated.
Thanks!
performance-spikes.png
(247.1 kB)
Comment