Search Issue Tracker
Fixed
Fixed in 2021.3.32f1, 2022.3.10f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a2, 2024.1.0a1
Votes
15
Found in
2021.3.22f1
2022.2.12f1
2023.2.0a8
2023.3.0a1
Issue ID
UUM-32163
Regression
No
[WebGL] A MP3 audio clip downloaded through UnityWebRequestMultimedia.GetAudioClip can't be replayed
Steps to reproduce:
# Download attached project
# Switch platform to "WebGL" and click Build&Run
# Open Debug Console in browser and listen to audio played
Expected Result: Audio plays, pauses after a few seconds and starts to play again.
Actual Result: Audio plays only once briefly and there are errors on the console.
"Channel.playSoundClip error. Exception: TypeError: The provided value is non-finite"
-
PieterAlbers
Aug 25, 2023 13:42
+1 on backport-ing
-
jgore_aofl
Jul 13, 2023 01:09
I would greatly appreciate this being backported to 2022.3 and 2021.3
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2023.3.0a2):
Audio: Added lazy `loopEnd` evaluation to avoid keeping an invalid value of 0. Downloaded audio files were were not updating this, causing a division by zero in the playback process.