Assert in line 204: PhotoGrammetrySession crashes while running with more than 10 images

The Object Capture Apple sample code crashes while generating the 3D model when using more than 10 images. The code was running fine in Xcode beta 4 (and the corresponding iOS version). Since beta 5 I get these crashes. When scanning with exactly 10 images the process runs through fine.

Does anybody know a workaround for that?

Post not yet marked as solved Up vote post of NickYaw Down vote post of NickYaw
1k views
  • The issue got resolved in iOS 17 beta 6

Add a Comment

Replies

We too facing this issue. Have you able to resolve it ?

  • No, I did not resolve it.

Add a Comment

I see this issue too

The issue persists in Xcode Version 15.0 beta 6 (15A5219j) and iOS 17 beta 5. The whole Object Capture experience got worse. Everything feels very laggy.

Actually for me the scan is working again since iOS 17 Beta 5 and Xcode 6. Just got 2 times bad access in memory but now i got 5 successful scans in a row (after cleaning the build folder)

EDIT:

Although it worked 5 times in a row now it crashes again in the reconstruction process :(

  • That's the crash I get too, that same___lldb_unnamed_symbol27190.

Add a Comment

Same crash ! EXC_BAD_ACCESS.. You have mentioned it worked 5 scans in a row, does it mean Only the ObjectCaptureSession or the PhotogrammetrySession too ??

Both was working in my tests, but i just performed 7-8 Scans since Beta 6 and in Beta 5 I found out, killing all Apps in AppSwitcher and restarting the devices should allow some scans (This really seams to be a memory issue).

Hearing that in Beta 6 it still crashes sometimes is really bad..

There was a bug introduced in one of the frameworks Object Capture depends on which was causing this crash. It has been addressed and newer betas should be working correctly. Please provide feedback otherwise.

Also note that we updated the sample code to work with the new Observation based ObjectCaptureSession API change. Please use this new sample code with the latest Beta and let us know if you encounter issues with these. Thanks!

Hello,

I just redownloaded the sample project this morning. It's now updated to use the new Observation and builds without failure.

But I'm still having issues with Assert line 204 during reconstruction.

    1. Xcode: Version 15.0 beta 8 (15A5229m)
    1. iPhone 12 Pro Max - iOS 17.0 (21A5291h)
  • Please try the latest iOS SDK: 21A5326a where we believe the issue in our dependency has been fixed.

  • Specifically, note that this is a runtime issue, not SDK, so the iOS device will need the latest code.

Add a Comment