Search Issue Tracker

Fixed in 5.0

Votes

3

Found in

3.5.6f4

Issue ID

493973

Regression

No

Crash when encoding a 24 bit, 96 kHz audio file

Audio

-

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?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.