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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1357865