cancel
Showing results for 
Search instead for 
Did you mean: 

App closed unexpectedly Gear VR Samsung s6

Anonymous
Not applicable
Hello everyone!
I'm new here, so do not beat much please)

I put osig in  Project/Assets/Plugins/Android/assets/ and I use last Unity 2017.1.0p4 for build with Gradle

Trying to build first time to Gear VR and when trying to open it from Oculus Home getting "App "App name" closed unexpectedly"

You can check ADB logcat output in attachment. There is something like:

14035 14035 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
14035 14035 F DEBUG   : Abort message: 'art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: java_class == null'
14035 14035 F DEBUG   :     r0 00000000  r1 00003674  r2 00000006  r3 00000008
14035 14035 F DEBUG   :     r4 ef486978  r5 00000006  r6 ef486920  r7 0000010c
14035 14035 F DEBUG   :     r8 f077d464  r9 00000000  sl ef4853f4  fp f076a434
14035 14035 F DEBUG   :     ip 00000002  sp ef485300  lr f19029c7  pc f1905230  cpsr 600d0010
14035 14035 F DEBUG   : 
14035 14035 F DEBUG   : backtrace:


What it could possibly be?

UPD:

This happening with GRADLE build, when use internal unity build everything works ok. Still need to use GRADLE because of signing v2 not accepted by Oculus Store

Thanks in advance

2 REPLIES 2

Anonymous
Not applicable
Little update here, if build with devbuild option, everything works like a charm

Anonymous
Not applicable
Dear @imperativity !
Thank you for feedback!

I solve my problem using Unity internal build with external signing to v1 scheme via cmd:
"%JAVA_HOME%\jarsigner" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore *path to keystore* *path to apk* *key_alias name*

Hope it help someone!

Now everything works like a charm!