Android Graphics.PresentAndSync

Hello, currently my application is suffering from spikes of Graphics.PresentAndSync. The gameplay has object spawning on an outer ring and moving towards the center. Once they reach the center they are deactivated for re-pooling. When i first start the application everything runs smoothly, however over time the movement becomes choppy. Profiling I am seeing spikes every few frames, and it is jumping from 60 frames per second to 30. If I navigate away from the game and come back, when i come back it resumes being smooth but gets choppy again. I have tried vsync on, vsync off. Disabling many things, like shadows etc. It should be a fairly simple scene with just a little ui, and some sprites. I am at a loss for what could be the problem. Any advice for what to do when graphics.PresentAndSync is appearing in profiler? I have even tested with my ui fully off, just a player sprite in the center of the screen and spawning in objects where i tap (also sprites).

So to clarify, when the game starts everything is smooth, after a certain amount of time it becomes choppy, and when I look at my profiler, it shows Graphics.PresentAndSync.

I made an empty scene with just a camera in it and a single sprite. No scripts running in the scene, just a single sprite being rendered, and i still see spikes with Graphics.PresentAndSync, Device.Present (24ms). Could these spikes just be normal behaviour, maybe my phones problem, or something to do with my quality settings? Does anyone have advice for what my quality settings should be at, any input would be appreciated. It is just a bit disappointing how smooth my game starts out, and then degrades after a minute.

I have the same problem, on Android this Graphics.PresentAndSync uses the 70% of the device cpu in my project, I have done a basic scene with only some cubes, no scripts, no dynamic lights… I have done this test in several Unity versions, 5.6.1, 5.6.0, 5.4.2 and 5.3.1 and the problem persist always.

I have downloaded the angrybots project too, I have not changed nothing and I have done an apk, I get the same problem. Then I have downloaded the angrybots from google play to see if it is a problem with my devices but the game from store is working fine. Can someone say me if I am doing something wrong? what is the cause of this problem? it is a Unity problem?

Thanks!

I’m also experiencing the same issue… this is a nightmare

Any word from unity on this? I’m having the same problem in 2017.