Unity has this recent enough RENDERING DEBUGGER window which adds and expands on a lot of what used to be the SceneView ‘debug render’ icon.
(I’m missing the old and simpler ‘overdraw red-ish mode, but that’s a discussion for another time’)
I have created several RenderGraph compatible render features and every time want to submit anything through the AddRenderPass<> builder, we assign a profiler to it at the same time.
The issue is, that profiler is nowhere to be found? How can I see the amount of time a render is taking both on CPU and GPU side like with Unity’s provided post processing effects?
I’m referring to this section:
I have been trying to find it in the documentation but it really isn’t clear to me or I’m missing something obvious.
Thanks a lot in advance.
Correction: the specific term is “Profiling Sampler”.
Unity creates some often as such:
using (IUnsafeRenderGraphBuilder builder = renderGraph.AddUnsafePass<SSAOPassData>("Blit SSAO", out var passData, m_ProfilingSampler))
