Unity Issue Tracker - Errors regarding Profilers.EndSample thrown while recording profiling information with Profiler when using custom ScriptableRenderPass with URP
Closed
UUM-33315
Errors regarding Profilers.EndSample thrown while recording profiling information with Profiler when using custom ScriptableRenderPass with URP
Unity: SRP Foundation
URP
Won't Fix
6.0.X
2023.2.X
2022.3.X
2021.3.X
2020.3.X
By design. Updated URP documentation to explicitly mention that calling Submit() on a command buffer provided by URP from an user pass is not valid.
By design. Updated URP documentation to explicitly mention that calling Submit() on a command buffer provided by URP from an user pass is not valid.
By design. Updated URP documentation to explicitly mention that calling Submit() on a command buffer provided by URP from an user pass is not valid.
How to reproduce:
1. Open the “profiler_errors_repo.zip“ project
2. Open the “SampleScene“ scene
3. Open the Profiler by going to Window -> Analysis -> Profiler
4. Set the Profiler to “Edit Mode“
5. Start recording profiling information
6. Observe the Console
7. Set the Profiler to “Play Mode“
8. Clear the Console
9. Enter Play mode
10. Start recording profiling information
11. Observe the console
Expected result: No Profiler errors were observed when Profiler starts recording in “Edit Mode“ and “Play Mode“
Actual result: Errors regarding Profilers.EndSample were observed when Profiler starts recording in “Edit Mode“ and “Play Mode“