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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
BenoitFreslon
Aug 20, 2018 10:37
Removed ProjectSettings/AudioManager.asset worked for me.