Search Issue Tracker

Fixed in 2019.2

Fixed in 2017.4, 2018.4, 2019.1

Fix In Review for 2018.3

Votes

0

Found in

2017.4.0f1

2018.1.1f1

Issue ID

1107760

Regression

No

[iOS]Crash in "ParkFMODResource() at AudioMixerPlayable" or "ReleaseChannelGroupsVisitor() at AudioPlayable" when unloading FMOD

Mobile

-

Reproduction steps:
1. Open the attached project.
2. Build and run it to AR supporting iOS 11+ device.
3. Wait for the scene to load.
4. Close the application through the device.

Actual behavior:
- Crash
- There are a few possible call stacks (full call stack list attached in the edit below).

Call stacks:

...
frame #0: 0x000000010335e3e8 wonderscope`FMOD::ChannelGroupI::release() + 16
frame #1: 0x000000010335e040 wonderscope`FMOD::ChannelGroup::release() + 32
* frame #2: 0x0000000102a5f3a4 wonderscope`::ReleaseChannelGroupsVisitor() at AudioPlayable.cpp:308 [opt]
frame #3: 0x0000000102a5f780 wonderscope`::Traverse() at AudioPlayableTraversal.h:119 [opt]
frame #4: 0x0000000102a5f720 wonderscope`::Traverse() at AudioPlayableTraversal.h:107 [opt]
...

...
frame #0: 0x00000001014cb330 wonderscope`FMOD::SystemI::flushDSPConnectionRequests(bool, FMOD::DSPI*) + 44
frame #1: 0x00000001014a8608 wonderscope`FMOD::DSPI::removeInternal(bool) + 72
frame #2: 0x000000010148db80 wonderscope`FMOD::DSP::remove() + 40
* frame #3: 0x0000000100f9d298 wonderscope`::ParkFMODResource() at AudioMixerPlayable.cpp:84 [opt]
frame #4: 0x0000000100f9d724 wonderscope`::Traverse() at AudioPlayableTraversal.h:92 [opt]
...

...
frame #0: 0x00000001a3d2fa68 libsystem_kernel.dylib`mach_msg_trap + 8
frame #1: 0x00000001a3d2ef24 libsystem_kernel.dylib`mach_msg + 76
frame #2: 0x00000001a413c41c CoreFoundation`__CFRunLoopServiceMachPort + 240
frame #3: 0x00000001a41370b8 CoreFoundation`__CFRunLoopRun + 1372
frame #4: 0x00000001a4136844 CoreFoundation`CFRunLoopRunSpecific + 452
frame #5: 0x00000001a63e5be8 GraphicsServices`GSEventRunModal + 104
frame #6: 0x00000001d14e5428 UIKitCore`UIApplicationMain + 216
* frame #7: 0x00000001022e08c0 wonderscope`main(argc=1, argv=0x000000016db23848) at main.mm:33 [opt
...

Reproduced with:
2017.4.0f1, 2019.1.0a11
iPhone XS Max iOS 12.0
iPhone 7+ iOS 12.0
iPhone 6s+ 11.4.1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.