iOS ARKit is saving every single frame of camera feed to disk!

We are building an AR experience using Unreal Engine 5.1 and ARKit, and just realized that iOS is saving every single frame of the camera feed.

Each frame has name like Image_2023-10-3-20-51-14-52.jpeg and is in Container/Documents/CameraImages

Seems like a bug … anyone know of this issue??

I have not seen that issue. I have worked a lot with AR though. There could be any number of reasons. So without knowing more it is hard to say. Is this a C++ project?

We figured out the problem: we accidentally turned on Should Write Camera Image Per Frame in the Apple ARKit settings.

The problem is that the app is live on the App Store, and anyone who installed and used the previous version will have bloat on their phones in the form of a ton of useless images.

We added a notice asking people to uninstall and re-install, but most probably won’t see this.

Now we are wondering how we can push an update that will delete this folder upon launch.

The images are all inside a folder Container/Documents/CameraImages