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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
This is a duplicate of issue #1357865