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. lightmont

    Oct 26, 2016 10:26

    You can see this bug on released games such as:

    - Best Fiends (Seriously)
    - Cookie Cats (Tactile Entertainment)
    - Toy Blast (Peak Games)
    - Slink Kong (Protostar)
    - Stampede Rodeo (Featherweight)
    - Crazy Kitchen (Zynga)

    The bug seems to only occurs on arm7 devices running iOS 10.0+.

    It's funny because you can now actually be sure which games are made with Unity. Just download it on a device on which the bug occurs and see if the BG music can be played.

    Two Dots, as far as I know, is made with Unity but the game does no have this issue.

  2. WillemKokke

    Oct 23, 2016 14:26

    Suffering from this on unity 5.4.2f1.

  3. Chadivision

    Oct 21, 2016 01:14

    I finished my game (using 5.3.6f1) and went camping to take a break before releasing it. Came back and this bug bit me when I upgraded to iOS 10.

    So maybe as a workaround, avoid camping...I guess.

  4. Handelabra

    Oct 20, 2016 11:56

    We are having this problem with Unity 5.4.2f1.

  5. justdizzy

    Oct 14, 2016 19:53

    Still an issue in 5.4.2f1. I am using the default universal build settings, which includes armv7 and arm64, testing on an iPad 4 running iOS 10.0.2.

  6. tessellation

    Oct 14, 2016 08:46

    I have found that this only happens when you build armv7 architecture and run it on a device that is capable of running arm64. For example if you compile armv7 and run on an iPhone 6. When you build a Universal app with both architectures, streaming seems to work as expected on all devices.

  7. airwick

    Oct 12, 2016 16:19

    Fix this please

  8. chmodseven

    Oct 09, 2016 08:10

    I have just got this error on a brand new iPhone 7.

  9. justdizzy

    Oct 07, 2016 18:42

    I have verified this is still an issue with 5.3.6p7, and am using IL2CPP scripting backend.

  10. justdizzy

    Oct 06, 2016 23:28

    I have verified that this IS still an issue with version 5.4.1p4.

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.