Unity fmod 2.02.04 unity2020.3.40f1 android client occasionally crash

04-03 16:29:46.941  7999 14616 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 16:29:46.941  7999 14616 E CRASH   : Version '2020.3.40f1 (ba48d4efcef1)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
04-03 16:29:46.941  7999 14616 E CRASH   : Build fingerprint: 'vivo/PD2055/PD2055:12/SP1A.210812.003/compiler12022105:user/release-keys'
04-03 16:29:46.941  7999 14616 E CRASH   : Revision: '0'
04-03 16:29:46.941  7999 14616 E CRASH   : ABI: 'arm64'
04-03 16:29:46.941  7999 14616 E CRASH   : Timestamp: 2023-04-03 16:29:46+0800
04-03 16:29:46.941  7999 14616 E CRASH   : pid: 7999, tid: 14616, name: FMOD Studio upd  >>> com.eggtart.warz.google <<<
04-03 16:29:46.941  7999 14616 E CRASH   : uid: 10862
04-03 16:29:46.941  7999 14616 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x74006e004906e6
04-03 16:29:46.941  7999 14616 E CRASH   :     x0  0074006e0049002e  x1  b400007a82350548  x2  000000798221b670  x3  00000077689f6568
04-03 16:29:46.941  7999 14616 E CRASH   :     x4  0000000000000010  x5  000000781003ea68  x6  74362d0a00000000  x7  000000000a2d36ff
04-03 16:29:46.941  7999 14616 E CRASH   :     x8  00000000002e006c  x9  00000000002e006c  x10 0000000000004001  x11 0000000000000000
04-03 16:29:46.941  7999 14616 E CRASH   :     x12 0000000000000003  x13 0000000000000005  x14 0000000000059609  x15 0000000034155555
04-03 16:29:46.941  7999 14616 E CRASH   :     x16 000000773482ee48  x17 0000007c1c37b06c  x18 0000000000000063  x19 b400007a82350548
04-03 16:29:46.941  7999 14616 E CRASH   :     x20 b400007a82350548  x21 0000000000000000  x22 0000000000000000  x23 0000000000000002
04-03 16:29:46.941  7999 14616 E CRASH   :     x24 00000077689f6928  x25 0000000000000001  x26 000000773482fde8  x27 b400007a321c8b58
04-03 16:29:46.941  7999 14616 E CRASH   :     x28 00000077689d6000  x29 00000077689f66a0
04-03 16:29:46.941  7999 14616 E CRASH   :     sp  00000077689f6690  lr  00000077346f8eec  pc  00000077346f8f1c
04-03 16:29:46.941  7999 14616 E CRASH   : backtrace:
04-03 16:29:46.941  7999 14616 E CRASH   :       #00 pc 00000000000dbf1c  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.941  7999 14616 E CRASH   :       #01 pc 00000000000dbee8  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.941  7999 14616 E CRASH   :       #02 pc 00000000000dd3b0  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.941  7999 14616 E CRASH   :       #03 pc 00000000000dc7a4  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.941  7999 14616 E CRASH   :       #04 pc 00000000000f3d08  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #05 pc 00000000000f3bf0  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #06 pc 00000000000dc638  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #07 pc 00000000001b3324  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #08 pc 00000000001c9c14  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #09 pc 00000000001ca770  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #10 pc 00000000001c9734  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #11 pc 00000000001cab5c  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #12 pc 000000000020480c  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #13 pc 0000000000205200  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:46.942  7999 14616 E CRASH   :       #14 pc 00000000000b6c6c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+312) (BuildId: 1f3401beddc9e3190e4c7b3dfcbbcf1b)
04-03 16:29:46.942  7999 14616 E CRASH   :       #15 pc 000000000005329c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 1f3401beddc9e3190e4c7b3dfcbbcf1b)
04-03 16:29:47.312  7999 14296 E CRASH   : other thread is trapped; signum = 11
04-03 16:29:47.313  7999 14296 E AndroidRuntime: FATAL EXCEPTION: UnityMain
04-03 16:29:47.313  7999 14296 E AndroidRuntime: Process: com.eggtart.warz.google, PID: 7999
04-03 16:29:47.313  7999 14296 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 16:29:47.313  7999 14296 E AndroidRuntime: Version '2020.3.40f1 (ba48d4efcef1)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
04-03 16:29:47.313  7999 14296 E AndroidRuntime: Build fingerprint: 'vivo/PD2055/PD2055:12/SP1A.210812.003/compiler12022105:user/release-keys'
04-03 16:29:47.313  7999 14296 E AndroidRuntime: Revision: '0'
04-03 16:29:47.313  7999 14296 E AndroidRuntime: ABI: 'arm64'
04-03 16:29:47.313  7999 14296 E AndroidRuntime: Timestamp: 2023-04-03 16:29:46+0800
04-03 16:29:47.313  7999 14296 E AndroidRuntime: pid: 7999, tid: 14616, name: FMOD Studio upd  >>> com.eggtart.warz.google <<<
04-03 16:29:47.313  7999 14296 E AndroidRuntime: uid: 10862
04-03 16:29:47.313  7999 14296 E AndroidRuntime: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x74006e004906e6
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x0  0074006e0049002e  x1  b400007a82350548  x2  000000798221b670  x3  00000077689f6568
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x4  0000000000000010  x5  000000781003ea68  x6  74362d0a00000000  x7  000000000a2d36ff
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x8  00000000002e006c  x9  00000000002e006c  x10 0000000000004001  x11 0000000000000000
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x12 0000000000000003  x13 0000000000000005  x14 0000000000059609  x15 0000000034155555
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x16 000000773482ee48  x17 0000007c1c37b06c  x18 0000000000000063  x19 b400007a82350548
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x20 b400007a82350548  x21 0000000000000000  x22 0000000000000000  x23 0000000000000002
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x24 00000077689f6928  x25 0000000000000001  x26 000000773482fde8  x27 b400007a321c8b58
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     x28 00000077689d6000  x29 00000077689f66a0
04-03 16:29:47.313  7999 14296 E AndroidRuntime:     sp  00000077689f6690  lr  00000077346f8eec  pc  00000077346f8f1c
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 
04-03 16:29:47.313  7999 14296 E AndroidRuntime: backtrace:
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #00 pc 00000000000dbf1c  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #01 pc 00000000000dbee8  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #02 pc 00000000000dd3b0  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #03 pc 00000000000dc7a4  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #04 pc 00000000000f3d08  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #05 pc 00000000000f3bf0  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #06 pc 00000000000dc638  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #07 pc 00000000001b3324  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #08 pc 00000000001c9c14  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #09 pc 00000000001ca770  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #10 pc 00000000001c9734  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #11 pc 00000000001cab5c  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #12 pc 000000000020480c  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #13 pc 0000000000205200  /data/app/~~Y-wT0mfFmtFpQLwyIr1xVA==/com.eggtart.warz.google-6ledYbLe0na2YHGYJXKZJg==/lib/arm64/libfmodstudioL.so
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #14 pc 00000000000b6c6c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+312) (BuildId: 1f3401beddc9e3190e4c7b3dfcbbcf1b)
04-03 16:29:47.313  7999 14296 E AndroidRuntime:       #15 pc 000000000005329c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 1f3401beddc9e3190e4c7b3dfcbbcf1b)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xdbf1c(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xdbee8(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xdd3b0(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xdc7a4(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xf3d08(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xf3bf0(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0xdc638(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x1b3324(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x1c9c14(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x1ca770(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x1c9734(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x1cab5c(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x20480c(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libfmodstudioL.0x205200(Native Method)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libc.__pthread_start(void*)(__pthread_start:312)
04-03 16:29:47.313  7999 14296 E AndroidRuntime: 	at libc.__start_thread(__start_thread:68)
04-03 16:29:47.388  4940  4940 D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.udc.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }
04-03 16:29:47.389  4940  4940 D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.udc.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }

Looking at the crash stack I can see it is crashing while stopping the least important Event for polyphony while starting a new Event. I don’t see any recent fixes that address an issue like that but have you tried updating to a more recent version?

Since you are using the logging version of FMOD, are there any other errors or warnings printed to LogCat before the crash?

Also, are you able to reproduce this crash? Can you give us steps to follow so we can debug it here?

The interface used by our project to play audio is EventInstance.start(). Does the flash back you mentioned have something to do with the frequent invocation of this interface and the frequent creation of EventDescription.createInstance.

Can provide a unity FMOD project, we refer to the next

Can we use profile to check the problem of popping sound? Is there any link? We can refer to it, or print out. When popping sound occurs again, we can judge whether we have corrected it according to the log or profile parameter

Invoking EventInstance.start and EventDescription.createInstance many times might increase the frequency of this crash, but I don’t think it will be the main reason for the crash.

This might help us a little, but first I think it would be best to enable logging and look at the log when this crash occurs. Can you please tick Enable API Error Logging , set your Logging Level to “Log”, and post the output of your game’s log here?

Attaching the FMOD Studio Profiler and recording a Profiler Session should allow you to record any pops, clicks, or performance problems you are experiencing. After that you can export your Profiler Session with Package Selection, and upload it to your FMOD Profile so we can have a look too.

Thank you for providing the minimal reproduction and FMOD Studio project. Unfortunately I cannot reproduce any popping sounds or the crash. I also cannot see any Profiler Sessions in the project. Can you please do the following:

  1. Set “Live Update” to “Enabled” for the Android Platform in your Unity Project.
  2. Collect a Profiler Capture, ensuring you can hear the popping when recording the Profiler Capture.
  3. Right click on the Profiler Capture and select “Package Selection…”
  4. Export the Profiler Capture with no additional binaries. (This will make the package size smaller).
  5. Upload the resulting .fspackage to your FMOD Profile.

With that I should hopefully be able to hear some popping in your Profiler Capture, and will be able to debug this issue better.

We used profile to test the noise of apk of our project. Noise appeared at 30 minutes. This is profile, fmod project and apk, which have been uploaded。 profile:AndroidNoise.fspackage,fmod project:warz__230412.fspackage,apk:v1000fmod_230412.apk,

Thank you for sending that over, I am not been able to reproduce this issue yet, but I can see your problem clearly in your profiling session.
I also cannot attach the FMOD Profiler to the apk you sent. Can you please confirm if “Live Update” is enabled for the Android Platform in your Unity Project, and send me the built apk again?

We have uploaded a new apk: v1001fmod.apk with “Live Update” enabled.

Hi,
I’m sorry to bother you. Is there any good solution for this bug in our project? Our project will be launched soon and needs to be solved urgently.

No bother, and very sorry for the delayed response. Thank you for the updated build- I still cannot seem to reproduce this problem unfortunately. Can you please tell me what type of phone you are using to reproduce this crash?
I am also still having trouble connecting live update. Are you using the default Live Update Port of 9264?

Hi,
It’s not the crash we need to fix urgently, it’s the Noise, which appeared at 30 minutes. We have uploaded apk, Project and profile.

企业微信截图_16819590687381

Our project is developed on Unity 2020.3.40, and we are using FMOD plugin version 2.02.04. When we build and run our game on an Android device, we experience frequent popping sounds after some time. We have collected profile data, and we have identified a profile that exhibits the issue after about 30 minutes of playtime. The APK is named v1001fmod.apk, and we have enabled “Live Update” using the default Live Update Port of 9264. This problem is urgent and has been troubling us for the past six months. We have tried various methods but have been unable to solve it.

I still cannot reproduce this issue, but here are some general things to try to hopefully resolve this problem.

  • I can see the stream thread regularly cutting out. This might just be due to the event ending, but there could possibly be something blocking the thread. To eliminate this possibilty, try moving the stream thread to a different core, maybe “0” or “1”:

  • Having multiple streams playing at once can cause cut outs. It doesn’t look like you have too many streams playing in this case, but it might be worth disabling the “STREAM” Loading Mode of your “BGM_Scenes_Shelter_Day.wav” and “BGM_Scenes_Shelter_Night.wav” assets:
    image

  • Some devices have an issue with the default AAudio output type. Try changing it to OpenSL:
    image

Please try making those changes and let me know if it helps with the problem at all.