Log in or register to post comments

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 9, 2015 - 9:27pm #1

I am experiencing app crashes on Android and would appreciate any help to solve it. I have updated my system to use Unity 5.1.3f1, Vuforia  5.0.5, java 1.8, and the latest android sdk.  I created a new Unity project and imported Vuforia and the Vuforia core samples.  On Android 5, everything is great.  On Android 4.4.2 devices, it ends abruptly and shows a segmentation fault error on adb.  I'm trying to figure out what's wrong.  The adb log shows certain things that might be relevant:

 Vuforia initialization successful

 Found Trackable named stones with id 1  (similar lines for chips and tarmac)

 Trackable chips lost  (similar lines for stones and tarmac)

 Requested Focus mode FOCUS_MODE_CONTINUOUSAUTO successfully.

 

then this:  signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000

 

Unity settings:

using armv7, openGLES2, rendering path forward

 

I've tried various minimum api levels, no difference

I have no idea what's going on. 

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

January 26, 2016 - 10:29am #11

Update:

this should be fixed in Vuforia 5.0.10.

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 26, 2015 - 2:02am #10

We will check the status of the issue reported with Unity, but there is no ETA for a fix at the moment.

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 24, 2015 - 6:31am #9

Any updates on this?

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 21, 2015 - 6:55am #8

We have identified a low-level OpenGL issue with Unity 5 (not occurring with Unity 4) which affects S3 model SGH-I747 specifically on Android 4.4.2 only.

We have reproduced the same (or equivalent) crash condition in a basic repo project without Vuforia and have filed a bug report to Unity about that.

We haven't tested yet the specific S3 model SCH-I535, but given that the hardware is very similar (same processor) and given that in both cases the issue appears specifically (and only) with the <Android 4.4.2 and Unity 5> combination on that device, chances are that the issue has likely the same root cause.

I'll post back if I have more updates.

 

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 20, 2015 - 7:16am #7

I am also experiencing a crash on this same combination. It seems to potentially be an out of memory problem.

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 18, 2015 - 7:55am #6

OK, so if Unity 4.6.8 is OK,

this confirms that the issue is affecting this specific <device/ Android OS/Unity version> combination (just to summarize):

< Vuforia 5.0 + Galaxy S3 (SCH-I535) + Android 4.4.2 + Unity 5.x >

 

I'll post back when I have an update on this.

 

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 16, 2015 - 10:18am #5

I just tested Unity 4.6.8 and Vuforia 5.0.5 image target sample on the device in question.  Works just fine on the device.  Attached is the device log for the prior crash with Unity 5.

AttachmentSize
Plain text icon adb_dump.txt115.33 KB

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 16, 2015 - 12:13am #4

OK, thanks, so to sumamrize:

- the device is a Galaxy S3 SCH-I535

- the OS is Android 4.4.2

- the crash occurs with Vuforia 5.0 on Unity 5.x, but it did not occur on Vuforia 4.0 with Unity 4.6

 

We have recently observed a potentially related issue on Galaxy S3 on 4.4.2 with Unity 5.x, but to confirm it is the same issue, I would need the following information:

- could you provide the full device logs (attaching them here as a text file)

- could you test Vuforia 5.0.5 (just a sample app) on Unity 4.6.7 or 4.6.8, on the same device and confirm whether it crashes or not ?

 

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 15, 2015 - 10:02pm #3

I first saw it with my own project which was a video playback app which was originally a Unity 4.6.3/Vuforia 4.0 app and which I updated to Unity 5/Vuforia 5 by following the instructions.  I then reverted to doing a clean new Unity 5/Vuforia 5 project just using the vuforia basic image recognition sample.  My app crashes when the user selects the go to ar button, which enables QCAR.  The sample app crashes on startup, I assume because QCAR starts immediately.  The device in question is a Samsung Galaxy model number SCH-1535 which has been my test device since I started using Unity and Vuforia a year ago. FYI, a basic Unity 5 app which does not include Vuforia runs just fine on it still, as do all my Unity 4.6/Vuforia 4.0 apps.

Crash on Android 4.4.2 with Unity 5, Vuforia 5.0.5

October 11, 2015 - 11:30pm #2

Hi,

a few questions:

- is the crash seen with one the Vuforia samples, or is it on a specific App?

- can you provide the device model (exact model number) of each Android 4.4.2 device on which you see the crash

 

Log in or register to post comments