Is it possible to cap the framerate in PlayCanvas? We would like the game to run at the same framerate on all devices, but older mobile devices are only capable of running it at 30 fps. Can we force faster devices to run it at 30 fps as well?
I’m basically looking for something similar to how you can set the target framerate in Unity.
Actually, the code proposed in that topic throws a bunch of errors in our game.
Uncaught TypeError: Cannot set property 'aabb' of null
at BatchManager.update (playcanvas-stable.dbg.js:44807)
at BatchManager.updateAll (playcanvas-stable.dbg.js:44820)
at Application.render (playcanvas-stable.dbg.js:23748)
at playcanvas-stable.dbg.js:24087