Sounds like the plugin is trying to use an unsupported API. We may be missing some checks for that in the plugin – are you trying to use image tracking?
Edit: Nevermind, that’s how this thread started I’ll investigate and get back to you.
Hi tdmowrer,
Can you suggest some quick workaround for this issue? We need to show after tomorrow using ARKit image recognition to the client. But image tracking is not working with this issue.
iPhone 7.
We are not aware of any issue. The original report in this thread was specific to iPhone 6s, which we were not able to reproduce. Looks like you are on iPhone 7, which @efge said worked for them. Are you using the latest Xcode and is your device on iOS 12?
I tried to run on 2 phones with OS version 11.3 and 11.4. Everywhere the application crashes. After I upgraded to iOS 12, the bug disappeared, but ARKit behaves like this video:
The object each frame appears and disappears and spins. How does this fix this problem?
@tdmowrer Is there an update on this? image tracking is not working on the s6. The camera stalls out/freezes when it recognizes an image. It works fine on the iphone7
Seeing the exact same issue on 2018.3.7 currently. Both the sample scenes and my own are experiencing this.
EDIT: Just tried again with a completely clean project on 2018.3.7. Used nothing but the ARKit zip file from bitbucket and got the same error.
EDIT2: “Solved” it by pulling down the v2.0.0 tagged version on Bitbucket instead of the tip (latest) It appears as though it’s broken in the main repo but not in the 2.0 tag
@tdmowrer it’s been a while since this thread was active, but the problem does still exist on iOS 11 with the exact same call (-[ARImageAnchor isTracked]: unrecognized selector sent to instance) causing the crash.
I could reproduce the crash with our actual app, as well as with the AR Foundation Samples and the AR Foundation Demos, with 100 % reproducibility. Other AR features of the AR Foundation Samples and AR Foundation Demos work without problems, and based on the manual, officially Image Tracking has no restrictions for iOS versions, except iOS 11.0 for ARKit in general.
Is there a workaround for this, or a version where it was fixed? Is it possible to access and modify the source code to prevent the crash?
The “v2.0.0 tagged version on Bitbucket” mentioned by rmuk above is not available on Bitbucket any more. Is Image Tracking simply unofficially not supported on iOS 11, despite being officially supported?