Welcome,
Guest
. Please
login
or
register
.
December 12, 2024, 05:10:46 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UI Panel Late Update Garbage Spike
« previous
next »
Print
Pages: [
1
]
Author
Topic: UI Panel Late Update Garbage Spike (Read 2013 times)
coxy17
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 23
UI Panel Late Update Garbage Spike
«
on:
February 23, 2017, 08:31:12 AM »
Hi
Attached is the profiler screenshot of UI panel update for the first frame of my scene. Is this normal? or should it 0 garbage?
Nick
Logged
coxy17
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 23
Re: UI Panel Late Update Garbage Spike
«
Reply #1 on:
February 23, 2017, 09:12:23 AM »
It wont me edit the post but im using
- atlas for all sprites
- bitmap font
- buttons with anchors on them.
- 3 draw calls in total
also i can see UIrect.start() in the profiler (attached) and this creates garbage for my buttons too.
Nick
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UI Panel Late Update Garbage Spike
«
Reply #2 on:
February 24, 2017, 08:31:24 AM »
When the UI first starts up it has to allocate buffers, so of course there will be some memory allocations. Otherwise it wouldn't work.
Logged
coxy17
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 23
Re: UI Panel Late Update Garbage Spike
«
Reply #3 on:
February 24, 2017, 08:36:28 AM »
ok thanks for this, i was just checking if all was ok and i can understand that it needs to do this.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UI Panel Late Update Garbage Spike