Hello
We are exploring the iOS 17 RoomPlan updates that allow for a custom ARSession to be passed into the RoomCaptureSession via the new initializer.
let roomCaptureSession = RoomCaptureSession(arSession: myARSession)
Currently we use our ARSession to extract sceneDepth
from the ARFrame
s via the delegate callback. This works prior to activation of the RoomCaptureSession via session.run(configuration)
.
However, when we do call run
on the RoomCaptureSession, sceneDepth
is no longer present on the incoming ARFrame
s.
Are these mutually exclusive? Should we expect ARFrame depth data to be present when a RoomCaptureSession is running with the shared ARSession?