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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
BenoitFreslon
Aug 20, 2018 10:37
Removed ProjectSettings/AudioManager.asset worked for me.