- Home /
EventSystem.Update() takes up 90% of CPU - Profiler Data Help
When I click a button to change scenes my game freezes for a split second and the profiler spikes up to 209 ms before coming back down. Does anyone know what might be causing this? I googled relentlessly for EventSystem.Update() but have found very few posts that pertain to me. I'm getting 470 calls of GC.Alloc and I'm not sure why.
Edit: The EventSytem.Update() causes this slowdown if i touch anywhere on the screen for the 1st time, it has nothing to do with the button. After the 1st time it never happens again. How can I fix this?
Because loading a scene is not like turning on the water tap. It actually takes time to load a scene. It's natural that it would take that time. $$anonymous$$eep in $$anonymous$$d that's not even a second. It could be making all those calls because you don't have much RA$$anonymous$$. But as far as 200ms is concerned thats 1/5 of a second to load a scene is not a problem. A problem is 2 or more seconds to load the scene
Your answer
Follow this Question
Related Questions
Rotation Performance 2 Answers
2.5ms update 2 Answers
Reading Profiler Results 1 Answer