Search Issue Tracker
Fixed in 5.0.X
Votes
3
Found in
3.5.6f4
Issue ID
493973
Regression
No
Crash when encoding a 24 bit, 96 kHz audio file
Could reproduce in 3.5.6f4 and 4.0.0b12 (b6f69b69a8be)
To reproduce in 3.5.6f4:
- Import the the attached audio file
- Select the audio file and change the audio format to "Compressed(OGGVORBIS)"
- Click apply and observe the crash
To reproduce in 4.0.0b12 (b6f69b69a8be):
- Import the attached audio file
- Select the audio file and change the audio format to "Compressed(OGGVORBIS)"
- Observe the error in Console:
"Error compressing Audio: Assets/case_493973-Fireball_Explode 1.wav(Could not setup Ogg Vorbis encoder (invalid audio sampling rate 96000))
UnityEditor.DockArea:OnGUI()"
- Observe also that user is 'stuck' in the sense that user can not change the asset back to the .wav format
Additional comments:
When importing the attached file into the editor, the Audio Preview shows that the audio file has the following format: 16-bit, 96000 Hz and Mono. But when opening the same file in an audio editing program, such as Audacity, the same audio file has these formats: 24 bit, 96000 and Mono. Could the issue be that Unity is 'misinterpreting' the bit rate?
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [WebGL][Android] Corrupt header when connecting via IP
- Editor and Android Player hangs/freezes when repeatedly Loading/Unloading AssetBundle in Vulkan
- Selecting a Material for HDRP Decal Projector in the Inspector window spams errors in the Console
- Expanded Asset Preview Box moves/hides when creating new Asset in Project window
- Player crashes on Meta Quest with "/apex/com.android/runtime/lib64/bionic/libc.so" when using OpenXR Plugin in a specific project
Add comment