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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
This is a duplicate of issue #1357865