Our shipped app has been working perfectly on iOS for years now, until recently.
IOS 16 seems to have broken it, as now multiple users are reporting that it just crashes a second after launching, while still on the splash screen.
Anyone else facing this issue, or got any ideas?
[2022.09.19-09.19.31:273][ 0]LogOutputDevice: Error: Ensure condition failed: SampleRate != 0.0f [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/AudioMixer/Private/AudioMixerDevice.cpp] [Line: 243]
[2022.09.19-09.19.31:303][ 0]LogOutputDevice: Error: Ensure condition failed: MixerDevice->GetSampleRate() > 0 [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/AudioMixer/Private/AudioMixerSourceManager.cpp] [Line: 163]
The log files reveal these errors. Looks like its related to the AudioMixer!
Our app was on UE4.25. Updating to UE4.27 fixed the problem.
Is there no other way？
The cost of upgrading is too high.
Has anyone been able to fix this?
I’ve been packaging shipping builds and publishing them to TestFlight but every time I attempt to run it on my iPhone 14 Pro Max the game will get to the Unreal Engine Loading screen and then crash
Regarding this specific issue:
Go to project folder → Config → iOS(Create if does no exist) → iOSEngine.Ini(Create if does not exist) → add:
that will disable AudioMixer that causing the crash.