By dpizzle
on Thu, 10/18/2018 - 23:40
Vuforia SDK Version: 7.5.26 -
Description with steps to reproduce: Unity 2018.2.13 iOS 12.0.1 iPhone 8+
Wondering why the auto focus is so aggressive and terrible looking. Is this intentional or a bug?
I went to record a promotional video today and had to revert my project to a lesser version just so it would look good.
Many wasted hours for something so silly. In my mind a black border should never appear while auto focusing.
Unity ARKit plugin does a slower auto focus (nicer looking) and does not show this issue, so I'm assuming it is possible to not have this.
Changing focus modes does not help, except when it's turned off of course.
Video example of issue, blow up is of upper right corner.
https://www.dropbox.com/s/vt0v5w74mvy5oeg/Untitled_1.mp4?dl=0
-
Development OS (Mac OS X, Windows, Linux): Mac -
Mobile OS and Version: iOS 12.0.1 -
Mobile Device Manufacturer and Model name: iPhone 8+ -
Do the Vuforia Sample Applications show the same behavior?: New project, blank scene with just an ARCamera shows the issue.
Hello,
Hello,
Vuforia does not have its own implementation of focus modes. Our APIs call down to platform APIs, similar to other camera controls.
Is this behavior reproducible in a project *without* Vuforia?
Thanks,
Vuforia Engine Support
I do not see this in any
I do not see this in any other app that has camera functionality on my phone when autofocusing. The native camera app does not exhibit this and a new unity project with just Unity's ARKit plugin does not exhibit this while autofocusing.
Hello,
Hello,
What version of Unity are you using?
Thanks,
Vuforia Engine Support
Latest non beta: 2018.2.13
I have seen it on:
Vuforia 7.5.26 + Unity 2018.2.13
Vuforia 7.2.23 + Unity 2018.2.11
With an iPhone 8+ running iOS 12.0.1
Hello,
Hello,
Thanks, I'll socialize this internally. I may be delayed in responding as I'll be on business travel next week.
Apologies for the inconvenience.
Thanks,
Vuforia Engine Support
Hello,
Hello,
Here is the internal feedback that I've received:
"You can actually see it on the iOS ARKit measure app which is supplied by Apple in iOS 12. The behaviour I saw in the measure app was the same as our native apps.
By this logic I should see
By this logic I should see the same exact functionality in iOS Vuforia as Unity Vuforia, right? It's night and day different. My gut says this is some kind of rendering issue on the camera feed in Unity and maybe not directly ARKit related.
More information regarding
More information regarding this bug: https://www.dropbox.com/s/sizlt6rusdnnz18/borderissue.mp4?dl=0
Forgot to include, but please note that other ARKIT Unity apps not based on Vuforia do not show the issue.
Hello,
Hello,
Did some socializing with other Vuforia teams and a very similar bug was reported by our Chalk app, which is based upon our native SDK:
https://www.dropbox.com/s/1ja0k7te75t12lh/LBGA9759.MP4?dl=0
Seen on an iPhone 8 running iOS 12.
Unfortunately you're not
Unfortunately you're not seeing what the problem is. The example video you just gave does not show the issue. I BEG YOU to please slow down and take a brief moment to understand the issue.
Hello,
Hello,
OK, thanks for the clarification. I now understand that your not reporting the aggressive continuous autofocus, but rather a 'border' that renders when the autofocus is triggered.
I will use your reported information and again attempt to replicate.
Thanks,
Hello,
Hello,
I've reproduced the error, as clarified, and will open a bug with core engineering. I'll keep you posted on when a fix is expected.
Thanks,
Vuforia Engine Support
Thanks medabit, really
Thanks medabit, really appreciate you taking the time to investigate this.
I am also getting this
I am also getting this problem on ARKit enabled devices. The autofocus looks super ugly because you can see the black borders. This also messes with parenting objects to the camera, as they seem to frag out a little when it does an autofocus, too.
Hello,
Hello,
Quick update is that we continue to investigate this issue to determine the source. However, considering the timing and state of the investigation, a fix (if Vuforia related) is unlikely to make it into our next commercial release (Jan. 2018).
Wanted to let people know
Wanted to let people know that 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.
Just to add to dpizzle's tip,
Just to add to dpizzle's tip, setting "Vuforia Sensor Fusion" is also working and should give better tracking than "Vision Only"... still without ARkit support, though:
Anyway to use this and device
Anyway to use this and device tracking in the same app - just different scenes? I’ve tried modifying this at runtime but seems to only pick up the first option.
We have found a fix for this
We have found a fix for this issue and hope to include it in the next commercial release of Vuforia in January,
Thanks,
Vuforia Engine Support