Search Issue Tracker

Fixed in 2017.3.0f3

Votes

0

Found in

2017.2.0b2

Issue ID

928499

Regression

Yes

Audio Mixer errors after removing build target from script and deleting asset package

Audio

-

To reproduce:
1. Download Audio Visualizer asset from asset store ( http://u3d.as/kju )
2. Open CrossPlatformInitialize.cs script and comment out line 91
3. Save and close script
4. Delete Audio Visualizer asset from project
5. Following error is thrown in the console:

MissingReferenceException: The object of type 'AudioMixerController' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.

6. Import Audio Visualizer asset from asset store again
7. Notice that more errors appear in console:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.AudioMixersDataSource.<FetchData>m__0 (UnityEditor.Audio.AudioMixerController mixer) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Audio/Mixer/GUI/AudioMixersTreeView.cs:213)

Reproduced: 2017.02b2, 2017.01f2

Comments (1)

  1. BenoitFreslon

    Aug 20, 2018 10:37

    Removed ProjectSettings/AudioManager.asset worked for me.

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.