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
- Search: Inspector section icon is less sharp/more pixelated than other editor icons
- Search description string is always truncated
- [VFX] When Grouped Nodes are converted to Subgraph Operator resulting Graph Node is not included in the Group
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
Add comment