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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment