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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
BenoitFreslon
Aug 20, 2018 10:37
Removed ProjectSettings/AudioManager.asset worked for me.