Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0a16

Issue ID

618805

Regression

Yes

Errors are thrown when audio files which have more than two channels are imported

Audio

-

Importing such file will produce an error:
NullReferenceException: Object reference not set to an instance of an object
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)
UnityEditor.HostView:OnGUI()

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.