- Home /
Application.CallLogCallBack() take 900+ ms on Mobile builds
Hi,
Our internal project is currently encounter this little problem. Since updating to Unity 5.2, the performance on mobile (Android and iOS) took a huge impact, each touch will lag the whole program for 1 or more seconds...
Interestingly, after using Unity Profiler, there is one Application.CallLogCallBack that took more than 900 ms to execute, aside from that, everything else is normal. I don't really know what this is and why it took too much CPU time like that. Any body have any suggestion?
Here is the screenshot of profiler, those blue pillars occurred every time I touched on mobile touchscreen.
Thank you very much
Answer by tng2903 · Sep 22, 2015 at 03:45 AM
Well, we figured it out. Turns out, that was just, like its name said, a log. The real problem lies in one of our thread, which encounter null error and then stagger the whole program.
Debugging thread is a headache =.=
Anyway, thank you guys :D