I created a .reality file which i exported from Reality Composer and added to the project.
The code:
On devices with iOS version 13.5 or higher the app crash when the anchoring is triggered and the 3D model should be displayed.
The error:
Thread 1: EXCBADACCESS (code=1, address=0x40)
The entire project has been uploaded to this
repo: https://github.com/evjand/ARAnchorTest
The code:
Code Block class ViewController: UIViewController { @IBOutlet var arView: ARView! override func viewDidLoad() { super.viewDidLoad() if let anchor = try? Entity.loadAnchor(named: "ARAnchorTestFile") { arView.scene.addAnchor(anchor) } } }
On devices with iOS version 13.5 or higher the app crash when the anchoring is triggered and the 3D model should be displayed.
The error:
Thread 1: EXCBADACCESS (code=1, address=0x40)
The entire project has been uploaded to this
repo: https://github.com/evjand/ARAnchorTest