Search Issue Tracker

Fixed in 5.0

Votes

0

Found in

5.0.0a15

Issue ID

617921

Regression

No

Unable to import .aif AudioClip

Asset Import

-

Steps to repro:
1. Open the attached project
2. Find the audio named 'SndEff_A_Respawn0'
3. Reimport it
4. Observe the errors:
IndexOutOfRangeException: Array index is out of range.
UnityEditor.AudioClipInspector.CombineWaveForms (UnityEngine.Texture2D[] waveForms) (at C:/buildslave/unity/build/Editor/Mono/Inspector/AudioClipInspector.cs:285)
UnityEditor.AudioClipInspector.RenderStaticPreview (System.String assetPath, UnityEngine.Object[] subAssets, Int32 width, Int32 height) (at C:/buildslave/unity/build/Editor/Mono/Inspector/AudioClipInspector.cs:84)
UnityEditor.AssetPreviewUpdater.CreatePreviewForAsset (UnityEngine.Object obj, UnityEngine.Object[] subAssets, System.String assetPath) (at C:/buildslave/unity/build/Editor/Mono/AssetPreviewUpdater.cs:33)

Cannot construct AudioClip for asset: 'Assets/Resources/Sons/SndEff_A_Respawn0.mp3'

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.