Search Issue Tracker

By Design

Votes

12

Found in

2018.3.0b1

2018.3.9f1

Issue ID

1138199

Regression

Yes

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

Audio

-

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 (fix version 2019.3):

    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 (2)

  1. 504fd2921fd1945967f1a486daf83833?d=mm

    tourbato23

    Feb 09, 2020 22:38

    <p>Turbatu is a different site for booking a variety of external and even <a href="https://tourbato.ir/">تور لحظه آخری</a> if you want to find a cheap tour we will introduce you to Turbatu. It offers the best.</p>

  2. D36275cc028ee1f66c61d02801f4ab82?d=mm

    MMOERPG

    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.