Search Issue Tracker

Fixed

Unknown (hidden) 2020.3.X, 2021.2.X

Votes

0

Found in

2020.3.37f1

Issue ID

UUM-11527

Regression

Yes

WebGL build crashes when using OnAudioFilterRead() function

--

-

Reproduction steps:

# Open the user attached project
# Open “Timers Sandbox” scene
# Press File → Build And Run

Expected result: build doesn’t crash
Actual result: build crashes

Reproducible with: 2020.3.26f1, 2020.3.37f1, 2021.1.19f1
Not reproducible with: 2020.3.25f1, 2021.2.0b1, 2021.3.8f1, 2022.1.12f1, 2022.2.0b4, 2023.1.0a4
Could not test with: 2021.2.0a1, 2021.2.0a21 (either errors in the Console or not being able to connect to localhost in browser)

Reproduced on: Windows 10

Crash error:
Uncaught TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.
at Object.playBuffer (build.framework.js:3478:16)
at Object.resume (build.framework.js:3522:9)
at _JS_Sound_SetPaused (build.framework.js:3716:45)
at __ZN4FMOD7Channel9setPausedEb (build.wasm:0x68302)
at __ZN20SoundChannelInstance16UpdatePauseStateEv (build.wasm:0x67d16)
at __ZN11AudioSource16UpdatePauseStateEv (build.wasm:0x7f5ed)
at __ZN12AudioManager23ProcessScheduledSourcesEv (build.wasm:0x8e9a1)
at __ZN12AudioManager6UpdateEv (build.wasm:0x8e631)
at __ZN11AudioModule6UpdateEv (build.wasm:0x8b336)
at __ZZL31InitializeAudioManagerCallbacksvEN36PostLateUpdateUpdateAudioRegistrator7ForwardEv (build.wasm:0x8b252)
at __Z17ExecutePlayerLoopP22NativePlayerLoopSystem (build.wasm:0x31bd44)
at __Z17ExecutePlayerLoopP22NativePlayerLoopSystem (build.wasm:0x31bd59)
at __Z10PlayerLoopv (build.wasm:0x31ad99)
at __ZL8MainLoopv (build.wasm:0x318d0b)
at dynCall_v (build.wasm:0xc37f0b)
at Object.dynCall_v (build.framework.js:25643:36)
at browserIterationFunc (build.framework.js:9166:23)
at Object.runIter (build.framework.js:9268:5)
at Browser_mainLoop_runner (build.framework.js:9204:20)

  1. Resolution Note:

    Fixed by another internal issue: UUM-11085: Audio playback fails with "The provided double value is non-finite." in 2020.3

  2. Resolution Note (2021.2.X):

    Fixed in 2021.2.0b1

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.