Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Autofocus on iOS?

Discussion in 'Vuforia' started by magglemitch, Dec 2, 2018.

  1. magglemitch

    magglemitch

    Joined:
    Dec 8, 2013
    Posts:
    110
    All of my Vuforia apps all seem to have the same problem on iOS devices (notably the arkit enabled ones). When the camera focuses, it seems to momentarily create a border around the screen - like when the camera zooms go to focus, for a second it doesn’t fill the whole view.

    I’ve also not been able to have much control over the focus with these devices. They seem to be stuck on constant auto focus - which is super annoying when you can see it visually zoom and focus every 3 seconds even when the focus was fine.

    Is there any potential workaround for these issues? Anyone managed to disable the auto focus and implement a manual focus?

    Thanks!
     
  2. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    266
    Hello,

    This issue has been reported and is still under investigation. We are unsure if it is Vuforia related.

    Thanks,
    Vuforia Engine Support
     
  3. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    266
    Hello,

    Feedback from the following Vuforia forum thread: https://developer.vuforia.com/forum/issues-and-bugs/autofocus-bug-ios

    "...switching into Vision Only mode before Vuforia intializes solves this issue with the obvious caveat of not being able to use certain features like ground plane. If your project is just using image targets, highly recommend you do this.

    Vuforia.VuforiaRuntimeUtilities.SetAllowedFusionProviders(Vuforia.FusionProviderType.VUFORIA_VISION_ONLY);"

    Thanks,
    Vuforia Engine Support