menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票
When I call unity function Application.Quit() to terminate the app.

The Android OS will send signal 6 or 11 , and the dalvikvm error shows "native thread exited without detaching".

In android logcat also displayed "I/AKDEBUG (21859): Wwise: AkGlobalSoundEngineInitializer.cs Awake() was not executed yet.  Set the Script Execution Order properly so the current call is executed after."

I have set the script execute order in unity settings. and also try to call aksoundengine.term or aksoundengine.stopall when app terminated.

Is there anything I do wrong or not do when I try to terminate the app ?

 

Thanks,

Leo.
问题关闭原因: fixed, Update unity to 4.5 .
分类:General Discussion | 用户: Leo H. (160 分)
已关闭 用户:Leo H.
Has anyone got the same problem when integrating with android platform ?

adb logcat will show the following message :

I/Unity   ( 4608):
I/Unity   ( 4608): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 53)
I/Unity   ( 4608):
D/dalvikvm( 4608): Trying to load lib /data/app-lib/com.xpec.WOH.Default-1/libAkSoundEngine_armeabi-v7a.so 0x41c93d68
D/dalvikvm( 4608): Shared lib '/data/app-lib/com.xpec.WOH.Default-1/libAkSoundEngine_armeabi-v7a.so' already loaded in same CL 0x41c93d68
I/AKDEBUG ( 4608): Wwise: AkGlobalSoundEngineInitializer.cs Awake() was not executed yet.  Set the Script Execution Order properly so the current call is executed

after.
D/dalvikvm( 4608): Trying to load lib /data/app-lib/com.xpec.WOH.Default-1/libAkSoundEngine_armeabi-v7a.so 0x41c93d68
D/dalvikvm( 4608): Shared lib '/data/app-lib/com.xpec.WOH.Default-1/libAkSoundEngine_armeabi-v7a.so' already loaded in same CL 0x41c93d68
I/AKDEBUG ( 4608): Wwise: AkGlobalSoundEngineInitializer.cs Awake() was not executed yet.  Set the Script Execution Order properly so the current call is executed

after.
I/gralloc_overlay(  130): Self allocation gralloc overlay
D/dalvikvm( 4608): threadid=14: thread exiting, not yet detached (count=0)
D/dalvikvm( 4608): threadid=14: thread exiting, not yet detached (count=1)
E/dalvikvm( 4608): threadid=14: native thread exited without detaching
E/dalvikvm( 4608): VM aborting
F/libc    ( 4608): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 4629 (__MONO__)
I/DEBUG   (  127): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  127): Build fingerprint: 'Huawei/P6-U06/hwp6-u06:4.2.2/HuaweiP6-U06/C00B108:user/ota-rel-keys,release-keys'
I/DEBUG   (  127): Revision: '0'
I/DEBUG   (  127): pid: 4608, tid: 4629, name: __MONO__  >>> com.xpec.WOH.Default <<<
I/DEBUG   (  127): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
I/tfa9887_hal(  134): [tfa9887_standby] in tfa9887_standby
I/DEBUG   (  127):     r0 00000000  r1 00000000  r2 deadd00d  r3 00000000
I/DEBUG   (  127):     r4 408a8730  r5 0000020c  r6 40185178  r7 00000001
I/DEBUG   (  127):     r8 4084dc11  r9 4018516c  sl 5d279a70  fp 00000001
I/DEBUG   (  127):     ip 00004000  sp 6a0c8c00  lr 401583a9  pc 40840e50  cpsr 60000030
I/DEBUG   (  127):     d0  74726f6261204d56  d1  652064616572686e
I/DEBUG   (  127):     d2  6977206465746975  d3  65642074756f686c
I/DEBUG   (  127):     d4  0000000000000000  d5  000004a026000000
I/DEBUG   (  127):     d6  4036000000000000  d7  401b000000000000
I/DEBUG   (  127):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  127):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  127):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  127):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  127):     d16 0000000000000000  d17 00000000000000e3
I/DEBUG   (  127):     d18 0000000000000000  d19 0000000000000000
I/DEBUG   (  127):     d20 0000000000000000  d21 0000000000000000
I/DEBUG   (  127):     d22 0000000000000000  d23 0000000000000000
I/DEBUG   (  127):     d24 0000000000000000  d25 0000000000000000
I/DEBUG   (  127):     d26 0000000000000000  d27 0000000000000000
I/DEBUG   (  127):     d28 0100010001000100  d29 0100010001000100
I/DEBUG   (  127):     d30 0000000000000000  d31 0000000000000000
I/DEBUG   (  127):     scr 80000010
I/DEBUG   (  127):
I/DEBUG   (  127): backtrace:
I/DEBUG   (  127):     #00  pc 00045e50  /system/lib/libdvm.so (dvmAbort+75)
I/DEBUG   (  127):     #01  pc 0000e3c8  /system/lib/libc.so (pthread_exit+320)
I/DEBUG   (  127):     #02  pc 002993ac  /data/app-lib/com.xpec.WOH.Default-1/libmono.so
I/DEBUG   (  127):     #03  pc 002996b4  /data/app-lib/com.xpec.WOH.Default-1/libmono.so
I/DEBUG   (  127):     #04  pc 002dff38  /data/app-lib/com.xpec.WOH.Default-1/libmono.so
I/DEBUG   (  127):     #05  pc 0000e598  /system/lib/libc.so (__thread_entry+72)
I/DEBUG   (  127):     #06  pc 0000dc84  /system/lib/libc.so (pthread_create+160)
I/DEBUG   (  127):
I/DEBUG   (  127): stack:
I/DEBUG   (  127):          6a0c8bc0  00000001
I/DEBUG   (  127):          6a0c8bc4  40185b58
I/DEBUG   (  127):          6a0c8bc8  40185b58
fixed when update to unity 4.5.
...