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
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- OnPointerExit and OnPointerEnter is mistakenly called when an overlapping child Image is destroyed
- Dynamic text is rendered in the background when it is inside the <font> tag
BenoitFreslon
Aug 20, 2018 10:37
Removed ProjectSettings/AudioManager.asset worked for me.