iBeacon Receiver and Vuforia Autofocus not work on an Android tablet [Unity3d] -


i have 2 problems, autofocus on vuforia's ar-camera , ibeacon receiver. these not work.

however, see these problem on android tablet(me173x). tried 3 android phones , iphone5, 5s , 6+. no problem on them.

development environments are: macbookpro-retina15-early2012 (fullspec) osx 10.10.4 (latest) unity 5.1.1p2 (latest), professional (but no ios-pro , no android-pro) vuforia 4.2.3 (latest)

i captured screenshot of terminal running 'pidcat --min-level w' (levels above warning), because many logs.

snapshot of terminal

no other logs above warning.

error logs linking of class ibeacon found. tablet supports bluetooth 4.0 , ble, , camera apps support autofocus.

i guess... these problems due device architecture.

please me!

p.s. thank response, jacob.

my code enable autofocus is:

using unityengine; using vuforia; using system;  public class vuforiaarcameraautofocusmultiselect : monobehaviour {     [serializableattribute]     public struct focusmodes {         public cameradevice.focusmode secondary;         public cameradevice.focusmode primary;     }      public focusmodes iosfocusmodes;     public focusmodes androidfocusmodes;     public focusmodes defaultfocusmodes;      void start() {         var qcar = findobjectoftype<qcarabstractbehaviour>();         if (qcar != null) {             qcar.registerqcarstartedcallback(onqcarstarted);             qcar.registeronpausecallback(onqcarpaused);             debug.log("qcarbehaviour found in current scene");         } else             debug.logerror("failed find qcarbehaviour in current scene..");     }      /// <summary>     /// raises qcar started event.     /// </summary>     private void onqcarstarted() {         debug.log("onqcarstarted");         setfocusmode();     }      /// <summary>     /// raises qcar paused event.     /// </summary>     /// <param name="paused">true: paused, false: resumed</param>     private void onqcarpaused(bool paused) {         if (paused) {             debug.log("onqcarpaused");         } else {             debug.log("onqcarresumed");             setfocusmode();         }     }      private void setfocusmode() {         focusmodes modes;         #if unity_ios         modes = iosfocusmodes;         #elif unity_android         modes = androidfocusmodes;         #else         modes = defaultfocusmodes;         #endif          if (cameradevice.instance.setfocusmode(modes.primary))             debug.logformat("successfully enabled autofocus mode: {0}", modes.primary);         else if (cameradevice.instance.setfocusmode(modes.secondary))             debug.logformat("successfully enabled autofocus mode: {0}", modes.secondary);         else             debug.logerror("couldn't enabled autofocus!!");     } } 

this code attached 'ar camera' gameobject in scene.


Comments