Post

Replies

Boosts

Views

Activity

Reply to Going back to ARKit view in Navigation Stack causes application crash with iPhone 14 Pro
We are also seeing several new ARKit related crashes with similar stack traces, some exclusively on iPhone 14, others on iOS 16 only. I have also filed a few bug reports: "ARSession on run after pause from viewWillDisappear causes crash in AppleCV3D" - 11343731 "TrueDepth stream fails on iPhone 14 Pro after using an ARSession" - 11554045 "Modifying an ARSession that uses 'initialWorldMap' causes a unnecessary relocalization" - 11604874 For your situation, there might be a workaround. I'm guessing you are calling session.run() on viewWillAppear and session.pause() on viewWillDisappear, but keeping the same ARSession around. You can try creating a new ARSession on viewWillAppear rather than reusing the same one ( e.g. self.session = ARSession() )
Sep ’22