sceneDepth not working on latest iOS 14 beta update

I have been working on developing an app for iPad Pro 2020 to capture the scene depth from the lidar sensor using ARKit 4 sceneDepth property. It was working completely fine until the iOS got updated today. The sceneDepth is always nil.

Answered by phil_bed in 624450022
I have the same problem...
Accepted Answer
I have the same problem...
Hi. @phil_bed
Were you able to resolve the issue?
UPDATE:
I was running the code on Xcode Beta 2. It works with Xcode Beta 3! I can access the depth data successfully.
I had to update to XCode Beta 3, clean my build folder, and rebuild. Then sceneDepth was populating correctly.

You need to enable the scene depth semantics first.

let config = ARWorldTrackingConfiguration()

config.frameSemantics = [.sceneDepth, .smoothedSceneDepth]

arSession.run(config)

Same Issue... any update?

sceneDepth not working on latest iOS 14 beta update
 
 
Q