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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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();
}