Search Issue Tracker
Fixed
Fixed in 2022.3.53f1, 6000.0.28f1, 6000.1.0a2, 7000.0.0a1
Votes
1
Found in
2022.3.29f1
6000.0.2f1
6000.1.0a2
7000.0.0a7
Issue ID
UUM-72024
Regression
No
.wav and .ogg audio files can't be imported to the project when the WebGL Build Profile is selected
How to reproduce:
1. Open the user-attached project “EmptyProject”
2. Make sure the “WebGL” Platform is selected
3. In the Project window navigate to Assets → InvalidSound
4. Right-click on the “femgeneric.wav” or “femgeneric.ogg” and click reimport
5. Observe the results
Expected results: The audio file is imported successfully
Actual results: The audio file fails to import with the “FSBTool ERROR: Failed encoding audio clip” error
Reproducible with: 2021.3.38f1, 2022.3.29f1, 6000.0.2f1
Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested
Full error:
Errors during import of AudioClip Assets/InvalidSound/femgeneric.ogg:
FSBTool ERROR: Failed encoding audio clip 'C:/Users/anastasijasafonova/Downloads/IN-76132_EmptyProject/Assets/InvalidSound/femgeneric.ogg' to AAC. Possibly the file is too short. Try to append silence such that the length becomes at least 1024 samples.
-
ScionOfDesign
Oct 15, 2024 16:36
For others encountering this issue:
Your bug report IN-76132: .wav and .ogg audio files can't be imported to the project when the WebGL Build Profile is selected has been closed with the resolution Won't Fix for Branch:2022.3.Resolution Notes: *The issue appears to be happening on recent versions of Windows (~>=10.0.22) where the AAC media encoder requires more samples than before to process the files. The minimum sample count appears to have gone from 1025 to 2049.
Prepending or appending enough silence to a sound to reach that size is the only workaround identified on Windows. This issue does not happen on the Mac or Linux editor.*
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (fix version 7000.0.0a1):
Update FSBTool AAC error message, raising minimum file size warning from 1025 to 2049.
Resolution Note (fix version 6000.1.0a2):
Update FSBTool AAC error message, raising minimum file size warning from 1025 to 2049.
Resolution Note (fix version 6000.0.28f1):
Update FSBTool AAC error message, raising minimum file size warning from 1025 to 2049.
Resolution Note (fix version 2022.3.53f1):
Update FSBTool AAC error message, raising minimum file size warning from 1025 to 2049.