Search Issue Tracker

Fixed

Fixed in 2021.3.17f1, 2022.2.6f1, 2023.1.0a23

Votes

0

Found in

2020.3.39f1

2021.3.10f1

2022.1.17f1

2022.2.0b10

2023.1.0a14

Issue ID

UUM-16609

Regression

No

[WebGL] WebGL throws an incorrect error when importing a too small audio file

-

Reproduction steps:

  1. Create WebGL project
  2. Import attached file “1023samples.wav“
  3. Observe Console

Expected results: Error thrown “Possibly the file is too short. Try to append silence such that the length becomes greater than 1023 samples.“
Actual results: Error thrown “Possibly the file is too short. Try to append silence such that the length becomes greater than 256 samples.“

Reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.18f1
Couldn't test with: 2022.2.0b9(FSBTool Errors), 2023.1.0a12(FSBTool Errors)

Reproduced on: Windows 11

Note: On other platforms this issue is not reproducible

  1. Resolution Note (fix version 2023.1.0a23):

    Improved an FSBTool AAC-encoding error message related to small files. They need to be at least 1024 samples, not 256.

  2. Resolution Note (fix version 2021.3.17f1):

    Audio: Updated FMOD's FLAC from version 1.2.1 to 1.3.4. This fixes an issue identified by our application security team.

Comments (1)

  1. lavi_unity

    Mar 26, 2024 07:58

    I got the error in the UCB WebGL build with unity version 2022.3.18f1, but can't see it in the affected versions here.

Add comment

Log in to post comment