Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0b3
2020.1.0a1
Issue ID
1183981
Regression
Yes
[Profiler] Profiler reopens a blank window with errors when audio frame data is selected at the time of closing it
Profiler reopens a blank window with ArgumentNullException errors when audio frame data is selected at the time of closing it.
Steps to repro:
1. Open the attached project.
2. Window > Analysis > Profiler > Play.
3. Select Frame in Audio View > Switch to Detailed view.
4. Click on Channels and Group.
5. Close the Profiler > Open profiler window again.
Actual Result:
Profiler appears blank on reopening.
ArgumentNullException errors in the console.
Expected Result:
Profiler should not appear blank on reopening.
No errors in the console.
Reproducible in:
2020.1.0a4, 2019.3.0b3.
Working Fine in:
2019.3.0b2.
Environment:
Windows & Mac 10.14.
Stack trace:
ArgumentNullException: Value cannot be null.
Parameter name: objectToOverwrite
UnityEditor.EditorJsonUtility.FromJsonOverwrite (System.String json, System.Object objectToOverwrite) (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditorInternal.Profiling.AudioProfilerModule.OnEnable (UnityEditorInternal.IProfilerWindowController profilerWindow) (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.ProfilerWindow.Initialize () (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.ProfilerWindow.InitializeIfNeeded () (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.ProfilerWindow.OnGUI () (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEditor.DockArea.OldOnGUI () (at <55cdba1bd6e14fba9b722ea76fea516b>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean eventIsPropagatedFromNonFocusableVisualElement) (at <4de086c5606b4c82839c6ab31c5b881e>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
Add comment