RoomCaptureSession custom ARSession missing SceneDepth

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 ARFrames 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 ARFrames.

Are these mutually exclusive? Should we expect ARFrame depth data to be present when a RoomCaptureSession is running with the shared ARSession?

Answered by polycamnick in 804412022

For posterity:

This can work by re-running a sceneDepth enabled WorldTrackingConfiguration after the RoomPlanSession's didStart delegate method is invoked

Accepted Answer

For posterity:

This can work by re-running a sceneDepth enabled WorldTrackingConfiguration after the RoomPlanSession's didStart delegate method is invoked

RoomCaptureSession custom ARSession missing SceneDepth
 
 
Q