Log in or register to post comments

Vuforia don't working on my Android (UNITY)

December 19, 2018 - 3:45am #1


I have a problem when i build my app on my smartphone.

I have no errors on my consol and the scene work on playmode on my pc with webcam but when i build it on my phone i have camera but no detection of my image ??

I tried on 2 versions of Vuforia and Unity and i have the same issue.

What is wrong ?

I use :

- Unity 2017.2.0f3 with Vuforia 6.5.22

- Unity 5.6.6f2 (and Unity 2017.1.3f1) with Vuforia 6.1.17

- Samsung Galaxy A7 with Android 6.0.1

Thanks by advance !


Vuforia don't working on my Android (UNITY)

December 20, 2018 - 11:25am #2


There are a few things to keep in mind if your image will not detect:

  • Import the dataset into Unity
  • Load and activate the dataset via the ARCamera Inspector window: ARCamera->Open Vuforia configuration->Datasets
  • Select the dataset in the ImageTarget prefab: ImageTarget->Image Target Behaviour (Script)->Type = Predefined, select Database and Image Target you want to be detected/tracked
  • Be sure that when building your app, you have selected the scene with the ARCamera+ImageTarget prefab
  • Always print the image that was uploaded to the portal to the exact same aspect ratio. Any stretching or altering of the image will cause it not to be detected. Some printers default to "stretch to fit", which can change the aspect ratio.
  • Check the size values you are using when uploading Targets to the Vuforia Target Manager. Note there is specific language used in the dialogue box that says Vuforia uses meters as the default unit scale. Incorrect target sizes could affect either our detection/tracking algorithm, or the augmentation in that it so large that it cannot be viewed because it extends beyond the clipping plane.
  • Review ADB logs to see if Vuforia detects and tracks the target. If the target is being tracked but the augmentation cannot be seen, this could indicate an issue with the clipping plane.

Note that the console message "trackable lost" does not indicate that something is wrong.


Vuforia Engine Support

Log in or register to post comments