Search Issue Tracker

Fixed in 5.0.1

Votes

0

Found in

5.0.0b21

Issue ID

667217

Regression

No

Error messages when tweaking the Native Audio Demo at runtime

Audio

-

When tweaking the Audio Mixer at runtime, the Pause button is enabled and also the Console is showing the following errors:

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)

MethodAccessException: Error verifying EqualizerCustomGUI/<DrawFilterCurve>c__AnonStorey1:<>m__1 (single): Method UnityEditor.ComplexD:Exp (double) is not accessible at 0x0020
UnityEditor.AudioCurveRendering.DrawCurve (Rect r, UnityEditor.AudioCurveEvaluator eval, Color curveColor) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Audio/Effects/AudioCurveRendering.cs:205)
EqualizerCustomGUI.DrawFilterCurve (Rect r, System.Single[] coeffs, Double lowGain, Double midGain, Double highGain, Color color, Boolean filled, Double samplerate, Double magScale)
EqualizerCustomGUI.DrawControl (UnityEditor.IAudioEffectPlugin plugin, Rect r, Single samplerate)
EqualizerCustomGUI.OnGUI (UnityEditor.IAudioEffectPlugin plugin)
UnityEditor.AudioMixerEffectView.DoEffectGUI (Int32 effectIndex, UnityEditor.Audio.AudioMixerGroupController group, System.Collections.Generic.List`1 allGroups, System.Collections.Generic.Dictionary`2 effectMap, System.Int32& highlightEffectIndex) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Audio/Mixer/GUI/AudioMixerEffectView.cs:329)
UnityEditor.AudioMixerEffectView.OnGUI (UnityEditor.Audio.AudioMixerGroupController group) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Audio/Mixer/GUI/AudioMixerEffectView.cs:119)
UnityEditor.AudioMixerGroupEditor.OnInspectorGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/AudioMixerGroupEditor.cs:39)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1144)
UnityEditor.DockArea:OnGUI()

To reproduce:
- Open attached project and launch "test" scene
- Open "test" audio mixer
- Hit Play
- Hit Edit in Playmode
- Go to audio group "909" and tweak the Attenuation fader up/down
- Observe that the Pause button is enabled
- Observe also the error messages in Console

See also attached video for further details.

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.