Search Issue Tracker
Fixed in 2018.1.X
Votes
2
Found in
5.4.4f1
Issue ID
915971
Regression
No
[iOS] Minimizing app during its initialization breaks the sound, error "FMOD failed to initialize the output device" displayed
Steps to reproduce:
1. Open user's attached project
2. Build "Test" scene to iOS platform
3. In Xcode, Build and Run
4. When app starts launching in iOS, instantly click home button
5. Notice that debug console has this error: "FMOD failed to initialize the output device, attempting to initialize the null output."
6. Bring back the app to foreground
Expected results: No error, sound plays
Actual results: Error mentioned in step 5, no sound playing
Reproduced on: 5.4.5p1, 5.5.4p1, 5.6.2f1, 2017.1.0f1, 2017.2.0b1
Notes:
* Issue reproduces with and without developer mode enabled in build settings
* Opening the app through iOS device instead of Xcode does not reproduce the issue
___
This bug cannot be completely fixed. FMOD initialization failed when an application is being sent to the background. With this fix, FMOD would be automatically reinitialized after bringing an application back to the foreground. However sounds will not be restarted, unfortunately, this is simply impossible with current FMOD based architecture. Developers should subscribe to the OnAudioConfigurationChanged event to restore sounds manually.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment