Search Issue Tracker

Fixed in 5.3.8

Votes

90

Found in

5.4.1f1

Issue ID

832578

Regression

Yes

[iOS] Audio with 'Streaming' Load Type does not play on some devices running iOS 10

iOS

-

If an Audio Clip has its Load Type set to 'Streaming' it does not play on some older devices running iOS 10.

Steps to reproduce:
1) Open the attached project (streamingTest_832578).
2) Build for iOS.
3) Run on a device via Xcode.
4) When the app launches, press any of the UI buttons on the screen.

A sound should be played, however it does not. An error message is displayed in the Xcode's console:
Error: Cannot create FMOD::Sound instance for resource resources.resource, (An error occured that wasn't supposed to. Contact support. )

It does not occur if the Load Type is set to 'Decompress On Load' or 'Compressed In Memory'. This only happens with iOS 10.
It seems that only older devices (like iPhone 5, iPad 4) are affected.

Reproduced on:
5.5.0b4, 5.4.1p1, 5.3.6p5, 5.3.5p6

Did not reproduce:
5.2.4f1

I was able to reproduce it on iPhone 5, running iOS 10.0.1
Devices running iOS 10 that did not reproduce:
iPhone 6, iPhone 6 Plus, iPad Mini 2, iPhone SE.
Other users reported that this is also reproducible on iPad 4th gen and iPhone 5C.

Comments (49)

  1. justdizzy

    Oct 06, 2016 19:06

    Can someone verify that this is still an issue in the patch build 5.4.1p4? Nothing in the patch notes implies that it has been fixed.

  2. fiumenome

    Oct 06, 2016 04:28

    Maybe, the issue occurs on 32 bit architecture CPU (less than Apple A7).

  3. andymads

    Oct 04, 2016 14:58

    Using 5.3.6 with an iPad Mini 2 I found that it happens when using Mono scripting backend but not with IL2CPP.

  4. Chanyutx10

    Sep 29, 2016 11:11

    Confirm the problem exists in Unity5.4.1f1.
    I have tested in these devices
    - iPhone6 running iOS version 10.0.2 (14A456)
    - iPad Air running iOS version 9.3.5 (13G36)

  5. Alexander-Seeck

    Sep 29, 2016 07:57

    I can confirm that the problem exists in Unity5_5_0p5.
    I even tried overriding every streaming setting for iOS to "DecompressOnLoad" to no avail.
    Moving back to 5.3.5p5 actually really fixed it for us.

  6. justdizzy

    Sep 26, 2016 20:13

    I have verified using an iPad 4 running iOS 10.0.2:
    Issue exists:
    5.3.6p6

    Issue does NOT exist:
    5.3.5f1
    5.3.5p5

    Looking at the release notes, there were some big changes in 5.3.5p6 in regards to streaming audio, which might be the culprit. Based on dates, these changes are probably in all versions of Unity greater than 5.3.5.

  7. FundaySoftware

    Sep 26, 2016 13:18

    Upvoted.

    Any workaround here would be lovely, as it is stopping us from releasing an update to Spellbinders on iOS.

  8. tomerrei

    Sep 25, 2016 11:31

    Any workaround known for this will be blessed...

  9. Chris-Kaynor

    Sep 21, 2016 16:07

    It may be useful to know that the issue does not seem to occur on 5.3.5p4.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.