Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.0b10

2017.3.0f3

Issue ID

996087

Regression

Yes

Non matching Profiler.EndSample (BeginSample and EndSample count must match) error when CommandBuffer.name != null

Profiling

-

To reproduce:

1. Open the project, attached by the user (non matching Begin-EndSample in deep profile.zip)
2. Open the "test" scene
3. Set the custom Scriptable Rendering Pipeline asset in Graphics settings (MoonRenderPipelineAsset)
4. Select the MoonRenderPipelineAsset in the Assets folder and make sure Test is set to Draw Skybox
5. Enter Play mode
6. Press Record in the profiler
7. Observe the error in the console

Expected: the error is not shown when profiling
Actual: there is the exact same number of BeginSample and EndSample calls, but the error is still shown

Reproduced in 2017.3.0b10, 2017.3.0f3, 2018.1.0b6
Did not reproduce in 2017.3.0b9
Regression introduced in 2017.3.0b10

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.