Log in or register to post comments

Android Crash - Target Images

January 10, 2018 - 1:19am #1

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

 

 

 

Android Crash - Target Images

March 15, 2018 - 9:55am #7

HI, Any updates since January the 18th, or any fixes that have been deployed since then? 

Android Crash - Target Images

January 18, 2018 - 9:02am #6

Update:

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

Grtz

Android Crash - Target Images

January 14, 2018 - 3:05am #5

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

Android Crash - Target Images

January 12, 2018 - 10:21am #4

What is the size of the printed target you are using?

Thanks,

Vuforia Support

Android Crash - Target Images

January 11, 2018 - 12:52am #3

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

Device Models:  Samsung Galaxy S6, htc OnePlus5

Physical size of targets: 512 x 512 px, size set to 10 when uploaded.

 

Usually it takes a while to reproduce the crash the first run, I even managed to make it crash after 10 minutes. Afterwards the crash often occurs faster.

When the app crashes, the following message is shown:  " Appname has stopped. Restart the app "

 

grtz

 

 

Android Crash - Target Images

January 10, 2018 - 4:15pm #2

Hello vangre,

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

  •     Unity + Vuforia version
  •     Android OS version
  •     Device model(s)
  •     Physical size of targets

Thanks,

Vuforia Support

Log in or register to post comments