Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

0

Found in

2019.3.0b11

2020.1.0a12

Issue ID

1198338

Regression

Yes

[Profiler] Exception thrown with Profiler window turning blank on selecting Network Operations Module from Profiler window

Profiling

-

Profiler window appears black along with "IndexOutOfRangeException" when "Network Operations" Module is selected under the Profiler window has already opened with the new project

Steps to repro:
1. Open a project which has Profiler Window already opened OR
2. Open a attached project (Project B.zip)
3. Hit the Play button twice (Play and Stop the project).
4. Profiler > Network Operations Modules

Actual Result:
Profiler window appears black along with "IndexOutOfRangeException" when the "Network Operations" module is selected when the project has Profiler window already opened

Expected Result:
Profiler window appears with profiling data if "Network Operations" Module is selected when the project has Profiler Window already opened doesn't cause any exceptions

Reproducible on:
2020.1.0a13, 2020.1.0a12, 2019.3.0b11

Working fine on:
2020.1.0a11, 2019.3.0b10

Environment:
Windows 10 & macOS 10.14

Stack trace:
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEditorInternal.Profiling.NetworkingOperationsProfilerModule.DrawNetworkOperationsPane (UnityEngine.Rect position) (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEditorInternal.Profiling.NetworkingOperationsProfilerModule.DrawView (UnityEngine.Rect position) (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEditor.ProfilerWindow.OnGUI () (at <c68d6dc296e3436796126be8249ff304>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEditor.DockArea.OldOnGUI () (at <c68d6dc296e3436796126be8249ff304>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <55ae69c3124c4bd7b0253824edf65780>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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.