-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous autofocus not working on iPhone 16 pro max #166
Comments
Thank you for your report. We will try and reproduce the auto focus issue and get back to you. Please note that this may take a little longer while we acquire the specific device. |
I hope you're doing well! I wanted to follow up on the status of this error. It's been a couple of weeks since the report, and I was wondering if there are any updates or an estimated timeline for when I might hear back about the reproduction results. If there's any additional information or testing on my end that could assist, please let me know. Looking forward to your response! |
Hi, We did not yet receive the device yet, so unfortunately, we do not have any updates. I think the only test you could do on your end is to try and reproduce the issue by running the app on a different iPhone 16 Pro Max with OS version iOS 18. As we are nearing Christmas and new year vacation for many people, it's difficult to say when we will have updates. We could be lucky and receive the device within the next days and reproduce and fix the issue on the first try. If we don't, there's likely not any updates from us until the end of the first week of January. |
+1 My phone is a Samsung Galaxy Note10+. |
Hi @Archi97, I will add your information to the bug ticket, however, your observed issue may be unrelated to the one seen on the iPhone 16. I would be surprised if it's Unity 6 (the common factor in your reports) that interferes with the focus modes. Have you tried reproducing the autofocus issue and frame freezing up in Unity 2022 LTS? |
Hi @ptc-thesbyro . |
Ah thanks for the correction. I misread that part. |
We have tested AutoFocus behavior on iPhone 16 Pro and what we see AutoFocus working however it is very very slow compared to other models and it takes up to 10 seconds to refocus on a change of scene depth. In some rare cases also the AF fails to trigger. The slow AF issue is limited to ARkit camera (which we internally use by default), and one can reproduce it even outside of Vuforia Engine (for example with one of the ARKit samples ). I have started a thread in the Apple developers forum. If you experience this issue please raise its importance by clicking on the Boost button and adding a comment |
A workaround exists by disabling the platform fusion provider. In Unity select VUFORIA_FUSION_ONLY, in native code set usePlatformFusionProvider to On iOS this switches off ARKit and Engine will use the standard AVFoundation camera API where autofocus is more responsive. Note that not all Engine features work with ARKit disabled (for details please see this page on Vuforia Fusion). |
Will this step also work on Android? |
@Archi97 it is possible as also on android by disabling the fusion provider Engine switches to the default Android camera API instead than ARCore. Still, the Android issue is completely unrelated to the iPhone one and we have not been able to reproduce it so far. |
@Archi97 regarding your AF issue could you please file a separate github issue indicating the exact steps to reproduce? In particular please add information if the issue happens after a tap event or if it is independent on the tap event. |
Summarize the bug:
The continuous autofocus doesn't work on iPhone 16 Pro Max. We used Vuforia's camera configuration to set continuous autofocus and also implemented it during runtime through scripting, but neither approach resolved the issue.
Observed problem:
On other iPhones, the autofocus is swift and accurate. However, on the iPhone 16 Pro Max, autofocus doesn't work properly or is very unstable and slow. So far, I have set the continuous autofocus through Vuforia's camera configuration settings and also through scripting, but neither approach resolves the issue.
Expected result:
The normal camera configuration should work consistently across all devices. With the script, continuous autofocus should engage successfully after Vuforia is initialized and loaded.
Other observations:
Even when the image appears to be in focus, the app sometimes fails to recognize the target image.
Reproducible steps:
Affected Vuforia Engine version: 10.27
Workstation OS: Mac
Platform: Unity
Platform version: Unity 6
Affected device:
Name: iPhone 16 Pro Max
OS: iOS 18
Screenshots / Video Recordings:
Video will be attached to showcase the issue.
IMG_3718.1.MP4
The text was updated successfully, but these errors were encountered: