- Home /
Understanding Profiler and Optimization !
Hi Everyone, i am new here ! Excuse my English since its not my first language. For past 3/4 Days, I've been struggling with Optimization. I am Currently developing a 2D game for Mobile, a RPG Game. I don't have much experience with Profiler and i try to get better understanding over sites. However some things aren't explained well enough or even none.
So here are things i want to understand better to get my project run smoothly and obviously it will be nice if this can help the others too !
Time ms in Profiler : So i saw my script Called Manager_ChibiCharacter.Update() takes 13.81ms and when i De-collapse there are 3 things inside the Script. Each takes 0.12,0.06, and 0.04 ms. What i don't understand is, i always thought the component Time ms inside of each collapsable Overview will add up to the parent (e.g. 0.12 + 0.06 + 0.04 = 0.22ms) but instead it shown 13.81ms. How does actually the Time ms in profiler work ?
CoroutinesDelayedCalls : I get this and i don't understand why this would take 30% of the Total (22.61ms). One of the component is came from a script that i have called from the previous scene (which already done). So why this appear on the next Scene ? Moreover it appears about 1 Minutes after the new scene. How to get this optimized ?
Render.TransparentGeometry : My noob assumption was, this is everything i made into Alpha (Since my game is 2D) on Images or SpriteRenderers. I read some people said use a Shaders and my noob assumption , Shaders need Materials. So is it better to create Shaders + Materials and assign it on the Object instead of using the Alpha ? Or my noob assumption is wrong ?
Culling : The culling came from Profiler doesn't actually take much, but i would like to know something. I turned off the occlusion culling from the camera but i still appears in the Profiler. What is this Culling in the profiler means ?
CullResults.CreateShaderRendererScene : This sometimes takes up to 7% in my profiler and to be honest i understand nothing about this, maybe someone can explain or even explain how to optimize this ?
I am sorry for my Ignorance or if i post this in the wrong section lol. Any help will be appreciated ! Thank You.
Have you read ProfilerCPU's explanation of Time ms? You should also read the whole Profiler section.
See also: