Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2020.1.0a24

Issue ID

1219282

Regression

No

[Profiler Standalone] Missing Profiler.EndSample errors are thrown on opening Standalone Profiler

Profiling

-

Missing Profiler.EndSample errors are thrown on opening Standalone Profiler.

Steps to repro:
1. Create a new Project.
2. Windows > Analysis > Profiler (Standalone Process).

Actual Result:
Missing Profiler.EndSample errors thrown in the console.

Expected Result:
No errors in the console.

Reproducible in:
2020.1.0a24(79162fef2e73).

Working Fine in:
2020.1.0a23.

Note: Standalone Profiler introduced in 2020.1.0a21.

Environment:
Occurring on Windows 10 & Mac 10.15.

Stack trace:
Missing Profiler.EndSample (BeginSample and EndSample count must match): UnityEditor.dll!UnityEditor::EditorApplication.Internal_CallDelayFunctions()
Previous 5 samples:
Mono.JIT
GC.Alloc
Mono.JIT
GC.Alloc
Mono.JIT
In the scope:
UnityEditor.dll!UnityEditor::EditorApplication.Internal_CallDelayFunctions()
Inspector.Tick
Application.Tick
EditorLoop
Main Thread

Missing Profiler.EndSample (BeginSample and EndSample count must match): Inspector.Tick

Missing Profiler.EndSample (BeginSample and EndSample count must match): Application.Tick

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.