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
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
Comments (6)
-
maria_unity852
Jun 29, 2022 10:28
Only play and pause work after the download is complete. Error still exists on time skips.
-
MartyGP
Jun 05, 2021 06:37
This does not appear to be fixed in 2021.1.10f1.
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
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.