Niagara Debugger: Lightweight/Stateless Emitters

In 5.6.1, our team has noticed that Lightweight emitters do not have their GPU Compute cost tracked within Niagara Debugger.

It seems the reason is that the NiagaraStatelessComputeManager never declares a FNiagaraGpuProfileScope. For stateful GPU emitters, this is declared within “FNiagaraGpuComputeDispatch::DispatchStage”, which is then pulled from within the Niagara stats manager.

Unfortunately, it does not seem trivial to declare this anywhere within the stateless pipeline as it requires compute data specific to the FNiagaraGpuComputeDispatch.

I’m also unsure how that would work since it seems that stateless dispatches may get batched together?

Has this been addressed in any updates since 5.6.1? Or are there any other methods to track the GPU cost of lightweight emitters?

[Attachment Removed]

Hi there,

We haven’t added that functionality yet. In latest we have stat NiagaraStateless which provides a combined view and doesn’t separate out data by individual emitters. Unfortunately, the work isn’t trivial and we don’t currently have a plan to implement this functionality.

[Attachment Removed]

Good news! I was wrong! Stu just added support for tracking Lightweight emitter perf in CL#54838443 - Niagara Lightweight performance tracking for Debug HUD / Perf Stats

[Image Removed]

[Attachment Removed]

Got it, thank you Alex. I was not aware of stat NiagaraStateless as it doesn’t get recommended while typing it into the console window. We’ll see what we can do with it.

[Attachment Removed]