ARKit FPS drop when device gets hot?

During testing of my app the frames per second -- shown either in the Xcode debug navigator or ARView .showStatistics -- sometimes drops by half and stays down there.

This low FPS will continue even when I kill the app completely and restart.

However, after giving my phone a break, the fps returns to 60 fps.

Does ARKit automatically throttle down FPS when the device gets too hot?

If so, is there a signal my program can catch from ARKit or the OS that can tell me this is happening?

  • BTW, I am running the iOS 15 beta (19A5340a), and I am using RealityKit.

Add a Comment

Accepted Reply

Yes, this sounds like expected behavior. Since the device is hot and our phones don't have fans, the processor is not able to work optimally, leading to lower FPS. I'm not aware of any way to get the thermal/power state of your device, but others might know.

Add a Comment

Replies

Yes, this sounds like expected behavior. Since the device is hot and our phones don't have fans, the processor is not able to work optimally, leading to lower FPS. I'm not aware of any way to get the thermal/power state of your device, but others might know.

Add a Comment