"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Android Crash - Target Images

Hi 

 

Currently I'm working on a mobile app, using Unity and Vuforia.

I noticed that the Android build crashed every time on random moments, when extended tracking was enabled and the object was visible for the camera.

So after changing a lot of player settings and scripts without success, I made a simple project with only one tracker image that triggers a 3D-object with particle effects.

Even this simple scene managed to crash on Android. 

 

Eventually not knowing what could cause this crash, I changed the target image to one of the built-in images from Vuforia (Mars Astronaut), and miraculously the crash didn't occur anymore. I could even drain the Android phone's battery completely without a crash.

Afterwards, I checked the settings of the Astronaut target image from Vuforia and noticed that its scale was only 0.12065, while my own images had a scale of 10. When I uploaded new target images in the Vuforia database with scale 0.12065, the crash was gone. 

Now can someone give me more information about this and tell me why it does crash on target images with a scale of 10 for example? 

 

grtz

 

 

 

Hello vangre,

Can you share some information with me so I can try to replicate this issue?

Yes of course:

Unity + Vuforia version : 2017.2.0f3 with the built-in Vuforia, but I think its reproducable with older versions as well.

Android OS Version : Android 7.0, Android 8.0

The printed target size is now 15cm x 15cm, printed on A4 and it's used for testing.

I'm planning on printing the markers somewhere around 50cm x 50cm, and 1m x 1m for the final versions.

 

grtz

Update:

The printed target will be a variety between 40cm x40cm and 180cm x 180cm. 

Grtz