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

    Nov 20, 2016 14:03

    @TOMERREI I will update the display of the milestone to be accurate.

  2. firtina

    Nov 20, 2016 13:52

    The reviewing process is going well and now the fix is in QA phase:

    For 5.3 it is expected to be in 5.3.7p2,
    And for 5.4 in 5.4.3p1

  3. tomerrei

    Nov 20, 2016 08:03

    What do they mean by "Status: Fixed in Unity 5.3.9"...
    Is there Unity version 5.3.9 somewhere...

  4. matthew_carnegie

    Nov 18, 2016 15:23

    Disappointing that this was still not fixed in the new release. This is causing delays in releasing for my company as well.

  5. theredace

    Nov 18, 2016 14:50

    We continue to wait for this bug to be fixed before we can ship our game.

  6. Catsoft-Studios526

    Nov 10, 2016 07:57

    Yesterday a new Unity patch was released but this bug seems to not be fixed. Isn't this a critical issue? We can't ship our game if the background music throws an exception and doesn't play (and changing loading type to compressed in memory is a waste of resources and an ugly hack).

  7. tim-bluenose

    Nov 07, 2016 17:42

    Posting here since it correlates to this issue -

    We've encountered Full-stop crash bugs on iOS 10 / arm7 devices when attempting to unload streaming audio assets marked as "Load in Background". The sound doesn't play as described in the original issue, but we're also seeing lockups as well.

    Devices with arm64 work fine.
    Same devices pre iOS 10 work fine.
    Disabling "Load in Background" on all music clips causes it to work fine.

    After playing a music track marked to stream and load in background, the app freezes with a callstack looking roughly like:
    __semwait_signal
    nanosleep
    ::Sleep()
    ::FlushDisposedSounds()
    ::UnloadClip()
    ...

  8. firtina

    Nov 02, 2016 10:38

    We have the fix for the issue (32-bit devices that use iOS 10 unable to load and play streaming audio). It is going through internal reviews at the moment.

    After the reviews have been completed it should be in all supported versions (including patches for 5.3 and 5.4).

  9. c_andrews

    Oct 28, 2016 09:26

    I have just started getting this issue with Unity 5.4.2f2 on Android when trying to stream an audio file from Persistent data or Streaming assets. I've got some background music playing but I don't seem to be able to play anything while that is playing:
    Error: Cannot create FMOD::Sound instance for resource ؚWT@��T�, (Operation could not be performed because specified sound/DSP connection is not ready. )
    UnityEngine.WWW:GetAudioClipInternal(Boolean, Boolean, Boolean, AudioType)
    UnityEngine.WWW:GetAudioClip(Boolean, Boolean, AudioType)
    UnityEngine.WWW:GetAudioClip(Boolean, Boolean)

    I get the same error on:
    - Samsung S6 running 6.0.1
    - Amazon Fire running Fire OS 5.3.1.0
    - Google Nexus 7 running 6.0.1

  10. VEWO

    Oct 28, 2016 08:04

    This is not an iOS 10 specific issue. I have encountered it on an iOS 9.3.4 (13G35) iPhone 5s as well. Using Unity 5.4.1f1.

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.