Search Issue Tracker

Fixed in 2017.2.X

Votes

8

Found in

5.6.1f1

Issue ID

911562

Regression

No

"Cannot create FMOD::Sound instance for resource..." error is shown when using UnityWebRequest.GetAudioClip()

Networking

-

Audio file format is .ogg, supported by Unity.

To reproduce:

1. Download the project, attached by user (BugDownloadHandlerAudioClip.zip)
2. Run the python 3 webserver script in the WebServer folder by typing python chunked-web-server.py into the command line
3. Open Unity project
4. Open "Main" scene if not already open
5. Enter Play mode
6. Observe console

Expected: audio clip is downloaded and played.
Actual: audio clip, supported by Unity, is not downloaded and "Cannot create FMOD::Sound instance for resource x^C (Unsupported file or audio format.)

Reproduced in 5.4.5p1, 5.5.3p2, 5.6.1f1, 2017.1.0b5

Fixed in 2017.2.0b2

Comments (11)

  1. alphdevcode

    Oct 18, 2023 14:51

    Same issue happening in 2022.3.3f1 LTS

  2. bn3d

    Mar 18, 2021 05:54

    Using 2019.3, same issue. Tried MP3 and OGG

  3. unity_NRb1nS4sRjpFZg

    Aug 12, 2020 22:20

    any fix?

    Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Unsupported file or audio format. )
    UnityEngine.Networking.DownloadHandlerAudioClip:GetContent(UnityWebRequest)
    <LoadClip>d__4:MoveNext() (at Assets/Scripts/LoadMusic.cs:48)
    UnityEngine.UnitySynchronizationContext:ExecuteTasks()

  4. JanusAnderson

    Aug 15, 2019 21:20

    I'm seeing this when trying to build for Android in 2018.3.1f1 for any sounds loaded from resource packs. I've tried changing the compression format from vorbis to ADPCM and I still can't get anything to play (even though things work fine on other platforms). Anyone have a workaround for this?

  5. Twosheds-Jackson

    Jan 23, 2019 09:34

    I'm on Unity 2018.3.2f1 and it's STILL broken... HELP!

  6. gasp10

    Jun 23, 2018 15:42

    Seems not solved on 2017.2.0f3

    prizeSource = "file://" + prizeSource;
    WWW loader = new WWW(prizeSource);
    yield return loader;
    AudioClip audioClip = loader.GetAudioClip(false, true);

    Error: Cannot create FMOD::Sound instance for resource Ȯ1C, (Unsupported file or audio format. )
    UnityEngine.WWWAudioExtensions:GetAudioClip(WWW, Boolean, Boolean)

  7. zackrump

    May 11, 2018 11:37

    Not solved for Unity version 2018.1.0f2
    Fails on IOS, using iPad V5 .
    Works on IOS iPad Pro and iPhone 7

  8. superbcorperation

    Apr 23, 2018 10:43

    NOT SOLVED! The same problem also occurs with Unity 2017.2.1p3(for SPECIAL console platform).

    Error: Cannot create FMOD::Sound instance for resource :3C, (Unsupported file or audio format. )

    --> var clip = www.GetAudioClip(false, streaming, AudioType.OGGVORBIS);

  9. trainyard

    Nov 23, 2017 21:08

    I should also add that there have been no related fixes in the two patch releases since.

  10. trainyard

    Nov 23, 2017 21:08

    This is currently happening for me in Unity 2017.2.0f3, so it doesn't appear to be fixed yet.

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.