FMOD 2.0.0 system->init() crash on iOS14

,

Hi

I’m testing FMOD2.0 core api on iOS14 beta 3 (18A5332e) simulator and facing a crash when trying to init the system.
FMOD::System *system;
FMOD_RESULT result;

result = FMOD::System_Create(&system);
ERRCHECK(result);

result = system->init(32, FMOD_INIT_NORMAL, extradriverdata);
ERRCHECK(result);

Crash info:
Initialize: Mach message timeout. Apparently deadlocked. Aborting now.

CoreSimulator 732.7 - Device: iPhone8_ios14 (C982F92A-B04D-4ED7-AB4D-F8E3BE45E6F9) - Runtime: iOS 14.0 (18A5332e) - DeviceType: iPhone 8

Running same above code on real device iOS14 beta 3 (18A5332f), works fine (no crash).
The only difference we see is the iOS minor version between simulator and real device (‘f’ instead of ‘e’).

Do you familiar with this crash? is something that you need to fix in your library or is it an iOS issue?

Thanks,
Rafael

Have you tried like this?

    FMOD::System     *system;
    FMOD_RESULT       result;
    unsigned int      version;
    /*
        Create a System object and initialize
    */
    result = FMOD::System_Create(&system);
    ERRCHECK(result);

    result = system->getVersion(&version);
    ERRCHECK(result);

    if (version < FMOD_VERSION)
    {
        // FMOD lib version doesn't match header version
    }
    result = system->init(32, FMOD_INIT_NORMAL, NULL);

I just tried to init with NULL, it doesn’t fix.

Hi Rafaelb149,

I can repro the issue. I suspect it’s an issue with the simulator beta, as it doesn’t occur with the last official release. I also was unable to run siri on the simulator.

For the crash, it appears to be reporting that the api cannot connect with a input (ie. microphone). If the issue persists into the full release, please let us know and we will investigate further.