I have a strange issue on iPhone with Low Power Mode enabled.
When the player swipes quickly and repeatedly, after a few gestures on_input completely stops being called. During this time no input is received at all. If the player stops touching the screen for 1-2 seconds, input resumes normally.
This only happens on iPhone with Low Power Mode. Works fine on Android and PC.
On each swipe (press + drag + release) I do the following in on_input and update:
- Pick a game object on press
- Move it during drag by updating its position each frame
- On release: rebuild mesh geometry for 2-4 game objects using resource.set_buffer (~3-6ms per call), then rebuild a batched shadow mesh with another resource.set_buffer.
Has anyone encountered this? It seems iOS interrupts or drops touch input right after a complex operation finishes while in Low Power Mode. Is it just me, or is this a known system limitation.
Does anyone have a workaround or a way to prevent the freeze?