Open itslenny opened 2 years ago
Also, intermittently getting this error as well.
CC @BastiaanOlij
Dang it, I have long ago lost access to hardware to do any MacOS based development :( The last time I worked on ARKit was before it was turned into a iOS plugin.. I do plan to buy an iMac one of these days so I can get back into Apple development but right now my hands are tied.
From the error log my best guess is that the dictionary that keeps track of the anchors found by ARKit is being released prematurely.
CC @godotengine/ios
I can confirm ar_is_anchor_detection_enabled = true
still causes the app to crash on my iPhone 11 Pro. Compiled with Godot 3.5 stable/ Xcode 13.4.1. Is there any workaround? I enabled the Address Sanitiser in Xcode and got the following error message:
Thread 21: signal SIGABRT
-[MTLDebugDevice newBufferWithBytesNoCopy:length:options:deallocator:]:687: failed assertion `Buffer Validation
newBufferWithBytesNoCopy:pointer 0x12cabc800 is not 4096 byte aligned.
I'm trying to build a basic app using the ARKit Plugin
As a starting point I pulled down the example project and started it up.
The camera turns on and it starts painting black on top of it. Then, after a few seconds I get a SIGABRT in xCode.
I went through the project commenting stuff out and it seems like as long as
arkit.ar_is_anchor_detection_enabled = true
the crash occurs after a few seconds even with with basically all other code commented out in the project.