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

    Jun 29, 2022 10:28

    Only play and pause work after the download is complete. Error still exists on time skips.

  2. MartyGP

    Jun 05, 2021 06:37

    This does not appear to be fixed in 2021.1.10f1.

  3. putrabatak

    May 26, 2021 14:02

    thanks for you

  4. samehfr

    Aug 21, 2020 05:25

  5. samehfr

    Aug 21, 2020 05:23


    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.