Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2021.1.X

Votes

0

Found in

2021.1.0a2

Issue ID

1286545

Regression

Yes

[Linux] Non-matching Profiler marker error thrown on selecting "Preferences" option from "Additional Options" in the Profiler

Linux

-

On clicking "Preferences" in Profiler window editor throws Non-matching Profiler error, refer the attached video.

Steps to Repro:
1. Create a new project
2. Window > Anaysis > Profiler
3. Profiler window > Burger button(Right-side on window ) > Preferences > Click

Actual Result:
"Non-matching Profiler" error thrown on selecting " Preferences" option from the "Additional Options" in Profiler window

Expected Result:
Preferences window should be open gracefully

Working Fine in:
2021.1.0a1

Reproducible in:
2021.1.0a2

Environment: Ubuntu 18.04 LTS

Stack trace:
Non matching Profiler.EndSample (BeginSample and EndSample count must match): UnityEditor.CoreModule.dll!UnityEditor::ContainerWindow.Internal_BringLiveAfterCreation()
Previous 5 samples:
UnityEngine.IMGUIModule.dll!UnityEngine::Event.Internal_SetNativeEvent()
mscorlib.dll!System::Object.wbarrier_conc()
UnityEngine.IMGUIModule.dll!UnityEngine::Event.set_current()
UnityEditor.CoreModule.dll!UnityEditor::EditorGUIUtility.get_magnifyGestureEventType()
UnityEngine.IMGUIModule.dll!UnityEngine::Event.get_type()
In the scope:
EditorLoop
Main Thread

  1. Resolution Note (fix version 2021.2):

    Fixed profiler throwing BeginSample/EndSample mismatch errors when opening preferences from the profile window while profiling.

Add comment

Log in to post comment