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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #1357865