Playing a game in PIE, NiagaraSystem always compiles on the first time it shows and creates a hitch in frames.

Hello,

Whenever I play a game in PIE ( Play In Editor), there is always a hitch when a niagara system shows up for the first time. I did some profiling and found out that UNiagaraSystem::RequestCompile is called whenever a hitch is happenening.

Is there any way to “pre-compile” niagara system so that the system does not compile on runtime?
Or is this something unavoidable?
some vfx takes over 50ms to be compiled…

1 Like

This often happens, also with a level full of shaders.

The litmus test it to try it in a packaged exe.

The shaders should have been cooked then, and you’ll be ok.

But with the latest trend to compile for every GPU, you might not be so lucky…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.