Our team is beta testing an AR application that is prone to BAD ACCESS crashes on a thread ProcessTriangleRange_Mask when hitTest( : CGPoint) is called on the ARSCNView. Because of this crash, our application is not production ready. How can this error be prevented/avoided/recovered from?
ProcessTriangleRange_Mask Crash on ARCNView.hitTest()
Having an identical crash on my codebase, looking for a workaround. If I can find one I'll post here.
Note: In my case it's the same crash, but it happens in my codebase when calling from SCNNode.hitTestWithSegment
Note: In my case it's the same crash, but it happens in my codebase when calling from SCNNode.hitTestWithSegment
@tempt - I found the solution (at least for my problem) here: https://developer.apple.com/forums/thread/130599?answerId=662860022#662860022
The issue is that I was not deep copying element data from ARMeshAnchors, I was simply referencing it when making an SCNGeometry.
The issue is that I was not deep copying element data from ARMeshAnchors, I was simply referencing it when making an SCNGeometry.