Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2020.2.0a5

Issue ID

1230538

Regression

Yes

[Profiler] Building with Autoconnect Profiler enabled throws exception that "Non matching profiler.EndSample"

Profiling

-

Non matching Profiler.EndSample exception is thrown on Build and Run when Autoconnect Profiler is checked on

Steps to Repro:
1. Open attached project
2. Build Setting > Development Build > check on
3. Build Setting > Autoconnect Profiler > check on
4. Build and Run

Expected Result:
No errors in the console

Actual Result:
Non matching Profiler.EndSample exception is thrown

Reproducible on: 2020.2.0a5

Working fine on: 2020.2.0a4, 2020.1.0b3, 2019.3.6f1

Environment: Windows 10 only

Stack trace:
Non matching Profiler.EndSample (BeginSample and EndSample count must match): PostLateUpdate.ProfilerEndFrame
Previous 5 samples:
Profiler.SerializeStats
Profiler.CollectGIStats
Profiler.CollectUICanvasStats
Profiler.CollectPhysics2DStats
Profiler.CollectPhysicsStats
In the scope:
<Root>

  1. Resolution Note (fix version 2020.2):

    Bug is fixed

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.