- Home /
[UI] Profiler scroll rect
Hi everyone,
I've been working on my game for a while and it's almost done so I started checking various "micro-problems", one of which is that the game seems to launch fairly hard on an Android device (I was expecting something less than 10 seconds for a UI-only game with no physics).
I've started looking into the profiler and I saw the ScrollRect.LateUpdate() is what's causing most of my launch spikes:
I then figured that "hey, I have 4 or 5 scroll rects, let's just stop all of them and see how much faster it goes". Surprise, not at all - because when running the profile with all my scroll rects turned off, this happens:
If anyone knows what Canvas.SendWillRenderCanvases() does or how it can be simplified, let me know.
Thanks in advance!
So, I went into "Deep Profile" and I noticed that what takes the longest at game launch is Text.UpdateGeometry() --> 85ms // that's ~1/4 of the whole loading time which seems crazy for me.
Does anyone know what can be done to lower this value? I'm currently using the UI.Text component with a ASCII (default set) font.
Your answer
Follow this Question
Related Questions
Android - Inexplicable Lag 1 Answer
Unity5 new UI render problem on Android 1 Answer
Scroll Rect Min/Max Size 0 Answers
Very Bad Performance on Android 3 Answers
Why is the font Futura md bt not displaying correctly / replaced on tablet? 0 Answers