Unity Issue Tracker - WebGL throws an incorrect error when importing a too small audio file
Fixed
UUM-16609
WebGL throws an incorrect error when importing a too small audio file
Unity: Platform Audio
WebGL
Fixed
2023.1.X
2022.2.X
2021.3.X
Won't Fix
2022.1.X
2020.3.X
Improved an FSBTool AAC-encoding error message related to small files. They need to be at least 1024 samples, not 256.
Audio: Updated FMOD's FLAC from version 1.2.1 to 1.3.4. This fixes an issue identified by our application security team.
This isn't a regression or high-priority enough bug to go all the back to 2020.3.
Reproduction steps:
Create WebGL project
Import attached file “1023samples.wav“
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.“