Search Issue Tracker

By Design



Found in



Issue ID




Setting the audio.timeSamples property for the partially downloaded audio clip doesn't work



Steps to reproduce:
1. Open attached project
2. Go into play mode
3. Press the UI button "play"
4. Press ">>" button
-"Error executing result (Couldn't perform seek operation. This is a limitation of the medium (ie netstreams) or the file format. )"

Expected result: Should set the time samples for audio clip without any errors
Actual result: Cannot set the time samples for the partially downloaded audio clip

Reproduced on: 2018.3.0b1, 2018.3.6f1, 2019.1.0b8, 2019.2.0a7
Doesn't reproduce on: 2018.2.21f1, 2018.3.0a1, 2018.3.0a7, 2018.3.0a11
Regressed in: 2018.3.0b1

  1. Response avatar

    Resolution Note (2019.3.X):

    Previously, the behavior in such a scenario was inconsistent and it would randomly fail. We had to fix this to provide a consistent behavior all the time.

    Workaround is to ensure that the entire file has been downloaded before performing an operation such as seek.

Comments (6)

  1. 48ec10d3bde18342127474d88d556f67?d=mm


    Jun 05, 2021 06:37

    This does not appear to be fixed in 2021.1.10f1.

  2. A45315735b358f24cbc236901b0a4a94?d=mm


    May 26, 2021 14:02

    thanks for you

  3. 81f4d14eb238415ed43f2e564e29c451?d=mm


    Aug 21, 2020 05:25

  4. 81f4d14eb238415ed43f2e564e29c451?d=mm


    Aug 21, 2020 05:23

  5. Eb2be104bb042b0bd83d309c4bb3b7c6?d=mm


    Aug 11, 2020 09:48!/;area=summary;u=341770;u=4039!/;area=summary;u=341718!/!/!/!/

  6. D36275cc028ee1f66c61d02801f4ab82?d=mm


    Jan 04, 2020 20:00

    Unity 2019.3.0f3
    This does not appear to be fixed.

    I am experiencing the same behavior.

    Seeking works fine when I download the full audio clip before assigning it to the AudioSource but when I set the DownloadHandlerAudioClip.streamAudio = true; and then assign the audio clip to the AudioSource, seeking does not work at any time, even once the audio file download clompletes.

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.