Copyright © 2026 Unity Technologies
Clearing Profiler data now correctly resets frame selection stored in saved session data; this prevents index out-of-range errors when closing and reopening the Profiler.
If you close the profiler whilst it's paused and then reopen and clear the data when the recording resumes it looks to try and start at the frame which was previously selected. When in this state if you move to the Highlights module it will start logging errors:
Notice how it shows Frame 72 of 40
[Internal link]
[Internal link]
ProfilerFrameIndexOutOfBounds: Exception of type 'Unity.Profiling.Editor.UI.ProfilerFrameIndexOutOfBounds' was thrown. Unity.Profiling.Editor.UI.BuilderUtility.ThrowIfFrameIndexIsOutOfBounds (System.Int32 frameIndex, Unity.Profiling.Editor.IProfilerCaptureDataService dataService) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/ModelBuilders/BuilderUtility.cs:40) Unity.Profiling.Editor.UI.FrameSummaryModelBuilder.BuildAsync (System.Threading.CancellationToken cancellationToken, System.Action`1[T] OnMainThreadUtilizationCompleted, System.Action`1[T] OnSystemsImpactBuildCompleted, System.Action`1[T] OnFrameBottlenecksBuildCompleted, System.Action`1[T] OnTopFrameMarkersBuildCompleted, System.Action`1[T] OnFrameGCAllocationsBuildCompleted, System.Action`1[T] OnTopGCMarkersBuildCompleted, System.Action`1[T] OnFrameGCCollectBuildCompleted) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/ModelBuilders/FrameSummaryModelBuilder.cs:42) Unity.Profiling.Editor.UI.FrameSummaryViewController.BuildModelAsync (System.Range range, System.Threading.CancellationToken cancellationToken) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/Summary/FrameSummaryViewController.cs:92) Unity.Profiling.Editor.UI.SummaryViewController.ReloadDataAsync (System.Range range, System.Action`1[T] onDetailsProviderReady) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/Summary/SummaryViewController.cs:114) UnityEngine.Debug:LogException(Exception) Unity.Profiling.Editor.UI.<ReloadDataAsync>d__25:MoveNext() (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/Summary/SummaryViewController.cs:123) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(<ReloadDataAsync>d__25&) Unity.Profiling.Editor.UI.SummaryViewController:ReloadDataAsync(Range, Action`1) Unity.Profiling.Editor.UI.FrameSummaryViewController:ReloadData(Int32, Action`1) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/Summary/FrameSummaryViewController.cs:50) Unity.Profiling.Editor.UI.SelectionSummaryViewController:ReloadData(Range, Action`1) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/Overview/SelectionSummary/SelectionSummaryViewController.cs:50) Unity.Profiling.Editor.UI.BottlenecksDetailsViewController:ReloadSelectionSummary() (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/BottlenecksDetailsViewController.cs:444) Unity.Profiling.Editor.UI.BottlenecksDetailsViewController:ReloadDataForSummaryIfNecessary(SummaryType) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/BottlenecksDetailsViewController.cs:421) Unity.Profiling.Editor.UI.BottlenecksDetailsViewController:ShowSummary(SummaryType) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/BottlenecksDetailsViewController.cs:345) Unity.Profiling.Editor.UI.BottlenecksDetailsViewController:ViewLoaded() (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Details/BottlenecksDetailsViewController.cs:147) Unity.Profiling.Editor.UI.ViewController:get_View() (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/ViewControllerSystem/ViewController.cs:27) UnityEditor.ProfilerWindow:Unity.Profiling.Editor.UI.BottlenecksChartViewController.IResponder.ChartViewSelectedFrameRange(Nullable`1) Unity.Profiling.Editor.UI.BottlenecksChartViewController:OnKeyContainerClicked(ClickEvent) (at /Users/richard.pickering/Documents/GitHub/unity/Modules/ProfilerEditor/ProfilerWindow/Bottlenecks/Chart/BottlenecksChartViewController.cs:217) UnityEditor.GUIView:ProcessEvent(EntityId, IntPtr, Boolean&) (at /Users/richard.pickering/Documents/GitHub/unity/Editor/Mono/GUIView.cs:70) Curl error 3: URL rejected: Error CrashReporter::GetInsightsSignedUrlAsync should only be called from the main thread
Steps to reproduce:
Actual results: Data looks to try and start frame the frame previously selected
Expected results: Data should start at Frame 1 after being cleared
Reproducible with versions: 6000.6.0a6
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes:
Issues you vote on will appear here