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.
Comments (1)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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();
}