IOS CRASH ON STARTUP unity: 2022.3.50f1 fmod: 02.02.23

I write the entire log that falls into firebase. We are sure that the error is caused by fmod, what do we need to do to solve it?

Crashed: com.Metal.DeviceDispatchQueue
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000011f7bd5

-[IOGPUMetalResourcePool updateResourcePurgeability]

com.apple.main-thread
__semwait_signal

Thread #1
__workq_kernreturn

Thread #2
__workq_kernreturn

Thread #3
__workq_kernreturn

com.google.fira.worker
__ulock_wait

AssetGarbageCollectorHelper
semaphore_wait_trap

AssetGarbageCollectorHelper
semaphore_wait_trap

AssetGarbageCollectorHelper
semaphore_wait_trap

AssetGarbageCollectorHelper
semaphore_wait_trap

AssetGarbageCollectorHelper
semaphore_wait_trap

com.apple.uikit.eventfetch-thread
mach_msg2_trap

GC Finalizer
semaphore_wait_trap

Job.Worker 0
semaphore_wait_trap

Job.Worker 1
semaphore_wait_trap

Job.Worker 2
semaphore_wait_trap

Job.Worker 3
semaphore_wait_trap

Job.Worker 4
semaphore_wait_trap

Background Job.Worker 0
semaphore_wait_trap

Background Job.Worker 1
semaphore_wait_trap

Background Job.Worker 2
semaphore_wait_trap

Background Job.Worker 3
semaphore_wait_trap

Background Job.Worker 4
semaphore_wait_trap

Background Job.Worker 5
semaphore_wait_trap

Background Job.Worker 6
semaphore_wait_trap

Background Job.Worker 7
semaphore_wait_trap

Background Job.Worker 8
semaphore_wait_trap

Background Job.Worker 9
semaphore_wait_trap

Background Job.Worker 10
semaphore_wait_trap

Background Job.Worker 11
semaphore_wait_trap

Background Job.Worker 12
semaphore_wait_trap

Background Job.Worker 13
semaphore_wait_trap

Background Job.Worker 14
semaphore_wait_trap

Background Job.Worker 15
semaphore_wait_trap

BatchDeleteObjects
semaphore_wait_trap

Loading.AsyncRead
semaphore_wait_trap

UnityGfxDeviceWorker
semaphore_wait_trap

com.apple.CoreMotion.MotionThread
mach_msg2_trap

Loading.PreloadManager
semaphore_wait_trap

CloudJob.Worker 0
semaphore_wait_trap

Thread #4
__workq_kernreturn

com.apple.NSURLConnectionLoader
mach_msg2_trap

Thread #5
__workq_kernreturn

Thread #6
__workq_kernreturn

Thread #7
__workq_kernreturn

Thread #8
semaphore_wait_trap

Thread #9
semaphore_timedwait_trap

IL2CPP Threadpool worker
semaphore_timedwait_trap

IL2CPP Threadpool worker
semaphore_timedwait_trap

JavaScriptCore libpas scavenger
__psynch_cvwait

com.google.firebase.crashlytics.MachExceptionServer
FIRCLSProcessRecordAllThreads

caulk::deferred_logger
semaphore_wait_trap

caulk.messenger.shared:high
semaphore_wait_trap

FMOD stream thread
__semwait_signal

FMOD mixer thread
semaphore_wait_trap

AURemoteIO::IOThread
mach_msg2_trap

FMOD Studio update thread
semaphore_wait_trap

FMOD Studio sample load thread
semaphore_wait_trap

FMOD Studio bank load thread

(edited for readability by moderator)

Hi,

The crash is occurring in Metal, the graphics API. The only mention of FMOD is the threads, which are all waiting. What makes you think that the crash is being caused by FMOD?

It got better when we initialized fmod earlier.

1 Like