Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.0a1
2022.1
2022.1.0b3
Issue ID
1394994
Regression
Yes
[Profiler] Profiler.EndSample errors on disabling Deep profile when profiling Edit Mode
Steps to reproduce:
1. Open an existing project or create a new one
2. Open Profiler (Window -> Analysis -> Profiler)
3. Make sure "Edit Mode" is selected as the profiling mode
4. Enable and disable "Deep Profile" option
Expected results: No errors produced
Actual result: Two errors produced: "Non-matching Profiler.EndSample" and "Missing Profiler.EndSample"
Reproducible with: 2021.2.0a1, 2021.2.91, 2022.1.0a16, 2022.1.0b4
Not reproducible with: 2020.3.26f1, 2021.1.0a10, 2022.2.0a1, 2022.2.0a2
Notes:
- On 2021.2.0a1 there's 4 errors produced on every enable/disable of "Deep Profile"
- Reproducible on Mac 10.15.7, Ubuntu 20.04 (though seems to be specific to some machines)
-
Resolution Note (2022.2.X):
Fixed in 2021.2.12f1, 2022.1.0b6 and 2022.2.0a1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1357865