Question by
Morgenstern_1 · Jul 01, 2016 at 11:28 AM ·
uioptimizationscrolllateupdateoptimise
ScrollRect.LateUpdate Performance Spike Optimization Help
Hi guys, I've started seeing a massive performance drop when I open the pause menu of my game and it seems to be coming from ScrollRect.LateUpdate. This spike happens every time the menu is opened, but does not happen while it is being scrolled.
Is there anything I can do to help reduce this? There's only a few text fields in there, nothing that is using any auto-layout components and nothing is being created dynamically. Verging on writing my own scrollable area class because this performance is unacceptable.
scrollrect-01-cropped.jpg
(109.6 kB)
Comment
I should add before anyone points it out - please ignore the whopping 0.8$$anonymous$$b of garbage being generated in BehaviourUpdate. That's co$$anonymous$$g from a 3rd-party tool and I've contacted them about it already.