Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
9.0.0-preview.35
Issue ID
1261912
Regression
Yes
[URP] Non matching Profiler.EndSample error is thrown in the Editor when Profiler is recording
Reproduction steps:
1. Open the attached user's project "Package Upgrade.zip"
2. Turn on the Profiler recording and set it to Editor
3. Observer the Console window
Expected result: no errors related to Non matching Profiler.EndSample are being thrown
Actual result: errors related to Non matching Profiler.EndSample are being thrown
Reproduces on: URP 9.0.0-preview.35 (2020.1.0b16, 2020.2.0a18)
Does not reproduce on: LWRP 4.10.0-preview (2018.4.25f1), URP 7.4.1 (2019.4.4f1), 9.0.0-preview.14 (2020.1.0b16, 2020.2.0a18)
Two first errors being outputted in the console:
Missing Profiler.EndSample (BeginSample and EndSample count must match): Render Camera
Previous 5 samples:
Render Camera
Render Camera
Semaphore.WaitForSignal
WaitForJobGroupID
Shadows.PrepareDrawShadows
In the scope:
Render Camera
Render Camera
UnityEngine.CoreModule.dll!UnityEngine.Rendering::RenderPipelineManager.DoRenderLoop_Internal()
PlayerLoop
Main Thread
Non matching Profiler.EndSample (BeginSample and EndSample count must match): Render Main Shadowmap
Previous 5 samples:
Render Main Shadowmap
RenderLoop.CleanupNodeQueue
Render Main Shadowmap
SRPBatcher.Flush
SRPBShadow.ApplyShader
In the scope:
Render Main Shadowmap
UnityEngine.CoreModule.dll!UnityEngine.Rendering::RenderPipelineManager.DoRenderLoop_Internal()
PlayerLoop
Main Thread
Notes:
-Issue reproduces in Play mode as well
-Issue only reproduces if URP is installed
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
- Particle System Curve's Presets window has no visual indication on what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
- Mistakes in multiple Particle System Components pop-up
- Hovering on the Particle System Controls shows an offset tooltip with the overlay window name
This is a duplicate of issue #1240963