Search Issue Tracker
Fixed in 2019.2.X
Votes
1
Found in
2017.4.0f1
2017.4.16f1
Issue ID
1118840
Regression
No
[Audio] __audio_mainthread_check_internal() crashes when trying to load corrupted AudioClips
To reproduce:
1. Download attached project “CorruptAudioAssets.zip" and open in Unity
2. Change Platform to iOS, Android or UWP
3. Delete everything in StreamingAssets folder
4. Press CORRUPT ALL AUDIOCLIPS > Corrupt File ID
5. Select piano.wav file
6. Press CORRUPT ALL AUDIOCLIPS > DOWIT!
7. Observe that You got messages in Console such as "Reimported Asset: Assets/piano.wav"
8. Click on piano.wav asset and You will get Error in Console:
Error: Cannot create FMOD::Sound instance for resource library/metadata/b9/b9c5ad3eca0bd478f8181be62f142186.resource, (Unsupported file or audio format. )
9. Press Build > AssetBundles
10. Build & Run for selected Platform
Expected results: After Splash Screen you will see spinning Cube
Actual results: After Splash Screen Built Project crashes
Notes:
- This issue appears on iOS, UWP, and Android - Mono and IL2CP
- For some reason, this issue does not appear on Windows and macOS Standalone - Mono and IL2CPP
- Stack traces from iOS and UWP are shared in Comments Section
Tested with:
- iPhone 7 Plus, iOS: 12.0 - Reproduced
- iPhone X, iOS: 11.3.1 - Reproduced
- VLNQA00216, Razer Phone 2 (Phone 2), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630 - Reproduced
Reproduced on 2017.4.0f1, 2017.4.19f1, 2018.2.20f1, 2018.3.3f1, 2019.1.0b1 and 2019.2.0a3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
Add comment