Search Issue Tracker
Fixed in 11.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1287027
Regression
No
'Missing Profiler.EndSample' errors when submitting context in endCameraRendering and Profiler window is open in Play mode
Reproduction steps:
1. Open or create any HDRP project
2. Create and open an empty Scene (Create -> Scene)
3. Attach the provided CustomRendering.cs script to "Main Camera"
4. Open the Profiler window (Window -> Analysis -> Profiler)
5. Enter Play mode
6. Observe console
Expected results: No errors are produced in the console
Actual results: "Missing Profiler.EndSample" errors as well as "Non matching Profiler.EndSample" errors are being spammed in the console
Reproducible with: HDRP 7.5.2 (2019.4.16f1), 8.3.1 (2020.1.17f1), 10.2.2 (2020.2.0f1), 11.0.0 (2021.1.0a10)
Cannot test with: HDRP 4.1.0-preview (2018.4.30f1) due to ScriptableRenderContext being unavailable in that stream
Notes:
- Not reproducible with URP
- Reproducible both when profiling Editor or Play mode
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (fix version 11.0.0):
Fixed in 2021.2.0a2