We recently updated from 3.4 to 3.5 and today I noticed a really weird behaviour on Android. (tested with Galaxy SII)
From time to time the game seems to stop for 1+ second. Although staring at it for about an hour I couldn’t find any pattern in when this happens and when not, only that after some time it happens regularly (approx. every 5 - 10s).
Looking at the logcat profiler and the editor profiler while running the game on the device showed that the stops are caused by cpu-present or more specific the Device.Present function. While most of the game runs with an average frametime of ~20ms with spikes not exceeding 35 on some frames the Device.Present function takes up more than 1 second, which seems ridiculous.
Any idea what could cause this? I hadn’t noticed this behaviour while using 3.4, so I am suspecting a bug, but I am not sure when this behaviour started exactly.
No changes for me :(
– rsodre