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
- Decal Shader Graph - Custom vertex interpolators are always 0
- Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
- RenderTexture pixels are gray when created without drawing on macOS
- Slider disappears when the Baked Lightmap Viewer window is at its minimum size
- Crash on 'TransformParticleMesh' when setting Particles in PlayMode
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.