Search Issue Tracker

Fixed in 5.3.0

Votes

9

Found in

5.1.0f2

Issue ID

698724

Regression

Yes

FMOD::Sound instance for resource error

Audio

-

To reproduce:
1. Open GLTest.zip project
2. Open GameLoader scene
3. Run custom builder in top of Editor menu. Build->Game build and select temp folder
4. Copy file from AssetBundles.zip to temp folder
5. Press play
6. Notice "Error: Cannot create FMOD::Sound instance
for resource..." error

Comments (64)

  1. STMB

    May 23, 2018 15:33

    Hello,
    just add "file:///" at the beginning at the url works for me on 2018.1 !

  2. zackrump

    May 11, 2018 12:48

    Same problem as reported in previous post by METGEMAY 18, 2017

    re. www.GetAudioClip(false, true, AudioType.OGGVORBIS

    Running on running on IOS (11.3.1) on the iPad Generation 5
    built with Unity v. 2018 1.0f2 (d4d99f31acba) Personal.
    (using Google Resonance for audio )

  3. f1844235

    Sep 01, 2017 08:16

    5.5.4f1(64bit) please fix!!!!!!!!!!

  4. sin5571

    Aug 26, 2017 11:19

    Still in 5.6.2 f1

  5. UweR7

    Aug 20, 2017 07:32

    Getting it in 5.5.4f1

  6. mooncascade

    Jun 29, 2017 12:13

    Still getting this on iOS (fine on Android) using 5.6.2f1.

  7. DeadShawn

    Jun 28, 2017 21:55

    I'm getting this in Unity 5.6.1f1

  8. metge

    May 18, 2017 10:39

    This is my code is fine worked in the Unity 5.6.0f3 Personal, OS Win 10

    using UnityEngine;
    using System.Collections;

    public class TestAudio : MonoBehaviour
    {
    private AudioSource _audiopoint;
    private WWW _www;

    void Start()
    {
    _audiopoint = GetComponent<AudioSource>();
    }

    private void Update()
    {
    if (Input.GetKeyDown(KeyCode.Space))
    {
    //StartCoroutine(DownloadAndPlay("http://www.tannerhelland.com/dmusic/AMemoryAway.ogg"));

    StartCoroutine(DownloadAndPlay("file:///"+ Application.dataPath + "/UserSounds/" + "/my.ogg"));
    }
    }

    IEnumerator DownloadAndPlay(string url)
    {
    Debug.Log(url);
    _www = new WWW(url);
    Debug.Log("Start Dowload");
    yield return _www;
    Debug.Log("Playing");
    _audiopoint = GetComponent<AudioSource>();
    _audiopoint.clip = _www.GetAudioClip(false, true, AudioType.OGGVORBIS);
    _audiopoint.clip.name = "Downloaded clip";
    _audiopoint.Play();
    }
    }

  9. Gunhi

    May 16, 2017 09:56

    Still have this in 5.6.0p4
    Error: Cannot create FMOD::Sound instance for resource \320A\250, (Operation could not be performed because specified sound/DSP connection is not ready. )
    UnityEngine.WWWAudioExtensions:GetAudioClip(WWW, Boolean, Boolean, AudioType)
    <DownloadAndSaveAudio>c__Iterator1:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

    [ line 880]
    (Filename: Line: 880)

  10. AzrielNguyen

    Mar 26, 2017 23:12

    I still have it in unity 5.5.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.