Reproduction steps:
1. Open the attached “AudioCrash” project
2. Open the “Assets/SampleScene.unity” Scene
3. Enter the Play Mode
4. In the Game View, press the “Play Sound (MP3)” button
Reproducible with: 2021.3.34f1, 2022.3.18f1, 2023.2.8f1, 2023.3.0b5
Reproducible on: macOS Sonoma 14.1.2 (Intel), Windows 10, Windows 11
Notes:
- Not reproducible with these platforms: WebGL, macOS Dedicated Server, macOS Standalone
- Reproducible with Mono and IL2CPP scripting backends
- Changing the audio clip import settings does not prevent the crash
- On macOS, it crashes silently with no stacktrace
First few lines of the stacktrace:
0x00007FF62FD3A25A (Unity) FMOD::CodecMPEG::setPositionInternal
0x00007FF62FD3198B (Unity) FMOD::Codec::setPosition
0x00007FF62FD892FC (Unity) FMOD::DSPCodec::readInternal
0x00007FF62FD36176 (Unity) FMOD::DSPResampler::read
0x00007FF62FD3534C (Unity) FMOD::DSPFilter::read