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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment