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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
This is a duplicate of issue #1357865