Ever since its first public release, ARKit includes an internal feature that allows recording sensor data captured in the session to a file (referred to as “sensor replay”), and using this file later to simulate a live session. This functionality and its SPI was enhanced in both ARKit 1.5 and ARKit 2.0, and at this point it’s conveniently controlled via specially constructed ARConfiguration objects that the ARSession is run with: