Search Issue Tracker
By Design
Votes
0
Found in
5.5.0f3
Issue ID
873652
Regression
Yes
[iOS] Audio stops playing when app enters Background (with NatCam plugin)
Steps to reproduce:
1. Open User's attached project (Google Drive link)
2. Build and Run for iOS
3. On iOS device press home key (put app into background)
4. Launch app from the background
Expected behavior: Sound from the app continues to loop
Actual result: No sound from app after coming back from the background
Reproduced with: 5.6.0b8, 5.5.1p4.
Not reproduced with: 5.5.1f1.
Note: User is using NatCam Professional - WebCam API tool from the Asset Store.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Shader warnings are being thrown after building Mixed Reality Template
PavelLU
Apr 28, 2017 12:19
There is simple fix to the issue: Put NatCam on pause when application loses focus.
void OnApplicationFocus(bool hasFocus)
{
if (hasFocus) NatCam.Play();
else NatCam.Pause();
}