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

Profiling

-

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)

  1. Resolution Note (2022.2.X):

    Fixed in 2021.2.12f1, 2022.1.0b6 and 2022.2.0a1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.