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
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
- Node Library window sections text in Context folder are not visible when Editor is set to Light Theme
- "Scene Depth Difference" Node has an input Port which is called Position WS, directly referring to the World Space Position, when only the View Space Position can reflect if the object's depth is below or above the Plane
This is a duplicate of issue #1357865