Hello,
I was having this weird weird problem with my game. When I pause my game and than resume, sometimes it started to act weirdly. Like most of the moving stuff kept working but some touch listener for example stopped working, and some functions based on an objects position didn’t trigger. And after 4-5 seconds all the functions suddenly triggers that did not trigger for the past 5 seconds. So the problem was not on pausing, it was on resuming.
I tracked down the problem and turns out it was because I was pausing and resuming some timers. I now use something like this when pausing;
local timeleft = timer.pause(sometimer) timer.cancel(sometimer)
And when resuming I re-create the timer;
sometimer = timer.performwithdelay(...)
This does solve the problem but I felt like letting you guys know. The mentioned timers are a lot (like 50), that’s why it might be giving the game a hard time. And I was experiencing this on the simulator, didn’t have chance to test this on any device.