Framerate dropping when altering the view matrix

lag_spikes.zip (6.9 KB)

Here’s a small project that starts lagging for me on three different devices: PC, Macbook and Samsung. I noticed the time for the lag to become visible on the Mac was significantly higher than on PC or Android, which might explain why you couldn’t reproduce it (in case you’re using Macs). Also, the time before you can see it seems to vary from time to time. I would recommend printing the FPS or look for a slightly higher dt in the profiler to find it before it becomes visible.