Log in or register to post comments

Crash on Galaxy S6

January 2, 2018 - 6:28am #1

Hello,

My app is crashing on the Galaxy S6 with Android 7 (I can't test on another device). I attached a few log files with the crashes.

The app was made with Unity 2017.2.0f3. I already tried upgrading to Unity 2017.3.0f3, the crash remains the same.

From what I can decipher from the Debug/Error log the crash has something to do with the following methods:

(from Unity Debug log) Vuforia.VuforiaARController:UpdateState(Boolean, Boolean)

(from libVuforia.so) Vuforia::setInitParameters(_jobject*, int, char const*)

The crash happens often a few seconds after start, but it can also take more then a minute. On a few occasions the crash doesn't happen at all.

Everything works fine when I run it in the unity editor.

AttachmentSize
Plain text icon log_01.txt5.31 KB
Plain text icon log_02.txt3.68 KB
Plain text icon log_03.txt3.52 KB

Crash on Galaxy S6

January 6, 2018 - 9:29am #6

Eyewear type is set to 'None'. I attached the screenshot as requested of my configuration.

This is still unity 2017.2.0f3.

AttachmentSize
Image icon VuforiaConfig.JPG79.41 KB

Crash on Galaxy S6

January 5, 2018 - 11:13am #5

Hello again,

These messages are all related to ODG support, did you accidentally enable digital eyewear settings in the Vuforia Configuration? Can you share a screenshot of this (please block out your license key if you do)?

Thanks,

Vuforia Support

Crash on Galaxy S6

January 5, 2018 - 10:48am #4

When I make a new project with Unity 2017.2.0f3 everything works, until I add a particle system as a child to the tracker. Then it crashes occasionally (but not always).

Some further digging in the project that always crashes reveals the following lines when Debugging with Proguard:

 :transformClassesWithNewClassShrinkerForRelease

com/vuforia/ar/pl/ODGR7Controller references unknown class: com/osterhoutgroup/api/ext/ExtendDisplay

net/gree/unitywebview/CUnityPlayer.<init>:(Landroid/content/ContextWrapper;)V references unknown class member: com/unity3d/player/UnityPlayer.<init>:(Landroid/content/ContextWrapper;)V

:transformClassesWithNewClassShrinkerForRelease FAILED

BUILD FAILED

 

This also shows when trying to build the apk file via Android Studio instead of unity:

Warning:com.vuforia.ar.pl.ODGR7Controller: can't find referenced class com.osterhoutgroup.api.ext.ExtendDisplay

Warning:net.gree.unitywebview.CUnityPlayer: can't find referenced method 'UnityPlayer(android.content.ContextWrapper)' in program class com.unity3d.player.UnityPlayer

Warning:there were 4 unresolved references to classes or interfaces.

Warning:there were 1 unresolved references to program class members.

Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.

Error:Execution failed for task ':transformClassesAndResourcesWithProguardForRelease'.

> java.io.IOException: Please correct the above warnings first.

 

What is the "osterhoutgroup api"?

Crash on Galaxy S6

January 3, 2018 - 3:32pm #3

Hello LexVR,

Are you able to reproduce this crash in the sample projects? I have not encountered a crash on the Galaxy S6 when using Vuforia with either Unity 2017.2 or 2017.3.

Thanks,

Vuforia Support

Crash on Galaxy S6

January 2, 2018 - 7:30am #2

*Update*

Further testing points towards 'ImageTargetBehaviour', as soon as I test a build with this script active the crash occurs as described in my previous post.

 

*Update 2*

Disabling extended tracking also "fixes" the crash. Sadly, I need extended tracking for the final release.

Log in or register to post comments