Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

12.0.0

Issue ID

1384954

Regression

Yes

[URP] Profiler.EndSample-related errors are thrown when the Rendering Path is set to Deferred

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open the attached "case_1384954" project
2. Open the "Test" Scene
3. Enter the Play Mode
4. Open the "Window -> Analysis -> Profiler" in the menu

Expected result: No error is thrown in the Console log
Actual result: Profiler.EndSample-related errors are thrown in the Console log

Reproducible with: 12.0.0 (2021.2.0b2), 12.1.2 (2021.2.7f1), 13.1.3 (2022.1.0b2)
Not reproducible with: 12.0.0 (2021.2.0b1)
Couldn't test with: 7.7.1 (2019.4.34f1), 10.8.0 (2020.3.25f1) (Deferred Rendering Path is available only from URP 12.0.0)

Thrown errors:
Non-matching Profiler.EndSample (Every EndSample call must have a preceding BeginSample call within the same frame):
Missing Profiler.EndSample (Every BeginSample call must have a subsequent EndSample call within the same frame): SetupLights
Non-matching Profiler.EndSample (Every EndSample call must have a preceding BeginSample call within the same frame):
Missing Profiler.EndSample (Every BeginSample call must have a subsequent EndSample call within the same frame): Deferred Shading (Stencil)

Add comment

Log in to post comment