Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2020.2.0b10

2021.1.0a2

2021.1.0a4

Issue ID

1289885

Regression

Yes

[Linux][Profiler] Missing Profiler EndSample errors thrown on clicking the "Profiler Module" when "Target Selection" is "Editor

Linux

-

Editor thrown Missing Profiler EndSample errors on clicking the "Profiler Module" dropdown when "Target Selection" is "Editor", refer to the attached video

Steps to repro:
1. Create a new Project.
2. Window > Analysis > Profiler
3. Profiler Window > Target Selection > Editor
4. Profiler Window > "Profiler Module" > Click

Actual result: Missing Profiler EndSample errors appear on clicking the "Profiler Module" dropdown

Expected result: "Profiler Module" dropdown gracefully

Reproducible in:
2021.1.0a4, 2021.1.0a2, 2020.2.0b10

Working Fine in:
2021.1.0a1, 2020.2.0b9

Environment: Ubuntu 18.04 LTS

Stack trace:
Missing Profiler.EndSample (BeginSample and EndSample count must match): ProfilerWindow.OnGUI.mouseDown
Previous 5 samples:
UnityEditor.CoreModule.dll!UnityEditorInternal::ProfilerDriver.InvokeNewProfilerFrameRecorded() [Invoke]
UISystem.ReleaseFrameData
ProfilerHistory.EraseOneFrame
Profiler.CalculateSelectedTimeAndChart
Profiler.GatherChartInformation
In the scope:
ProfilerWindow.OnGUI.mouseDown
UIElementsUtility.DoDispatch(Non Repaint Event)
UnityEngine.IMGUIModule.dll!UnityEngine::GUIUtility.ProcessEvent() [Invoke]
ProfilerWindow.MouseDown
EditorLoop

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.