SCENARIO: Scrollview has 100+ elements. "Cull widgets while dragging them" box is "Checked".
Each element has 20 Labels (having Dynamic Font) with "Outline" (even without it, doesn't matter), 30 sprites, 2 buttons.
None of the item is "ANCHORED". And, only the Scrollview & Grid are anchored having "Execute" Condition set to "OnEnable".
ISSUE: FPS on this screen is just 29 & it drops from 30 to 6-7 while dragging. Performance Issue!
What Profiler says:
UIRect.Start() and UIRect.Update() shows 2500+ "Calls" in Profiler.
Fonts.CacheFontForText shows 5000 calls in Profiler.
STATS:
Batches = 39
Saved by batching = 0
Tris = 3.7k
Verts = 7.3k
SetPassCalls = 39
Kindly explain what could be done to improve the Performance.