Log in or register to post comments

Why is continuousauto not supported on unity vuforia

June 4, 2013 - 12:47pm #1

I have a question. Why does unity's version of setFocusMode(Continuious Auto) return false when if I create an app through the regular vuforia sdk for android it does?

I find that very weird. I have an app running vuforia on my nexus 10, and the continuos auto focus works without any problems on it. This project was created in eclipse with the android sdk 1.5

I also have another app created in Unity which when I set the focus mode (auto trigger, continuous auto, normal) they all tell me that it is not supported, even though I can see triggerauto working (it freezes the screen witht he new sdk (v2.0.32)

Can anyone tell me why that is?

Thanks.

Why is continuousauto not supported on unity vuforia

June 6, 2013 - 8:36am #4

I see.. I wonder if something went wrong in the migration process...

Could you make a simple test, i.e. creating a fresh New Project in Unity and import the ImageTargets sample package and run that ?

Also, if you are using 2.0.32, I would recommend to also download the latest samples available, i.e. version 2.0.7

 

Why is continuousauto not supported on unity vuforia

June 6, 2013 - 6:20am #3

I am on that development team, and my regular (non unity) android app uses 2.0.30 sdk and it has the auto focus enabled (Nexus 10), i can see this because if I keep the device steady no it stays focused, but when I move the device to look at something else it automatically refocuses on so the scene looks good.

I just upgraded to 2.0.32 of the unity sdk (from the 1.5 version i was using before), and when i try to use autofocus it says that the mode is not supported. So I am confused about that discrepancy.

As for testing the unity samples no, I have not tested the samples, stopped using them at 1.5 when I figured out most of tricks needed to get my app running.

Why is continuousauto not supported on unity vuforia

June 6, 2013 - 3:17am #2

Hi, I verfieid the issue here, but I could not reproduce it;

I tried with one device with does not support continuous autofocus, and in both native and Unity versions the results were consistent (not supported)

Then I tested one device which does support continuous autofocus, and in both native and Unity the results were consistent too (i.e. autofocus supported)

I did my tests using the Image Targets sample (native and Unity), which provides autofocus settings capabilities via menu (in Unity you can open the menu by double-tap, while in native Android you can touch the "menu" button on your device)

Both tests were done using version 2.0.32 of the SDK.

Have you tried doing the same tests using the ImageTargets samples ?

 

 

Log in or register to post comments