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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Add comment