UEConsole Commands
CommandConsole CommandParticle FX system

fx.InvalidateCachedScripts

fx.InvalidateCachedScripts is a console command in Unreal Engine 5 (UE5). See what fx.InvalidateCachedScripts does and how to run it in the Unreal Engine console below.

Category: Particle FX system · Namespace: fx

Description

Invalidate Niagara script cache by making a unique change to NiagaraShaderVersion.ush which is included in common.usf.To initiate actual the recompile of all shaders use "recompileshaders changed" or press "Ctrl Shift .". The NiagaraShaderVersion.ush file should be automatically checked out but it needs to be checked in to have effect on other machines.

Usage

Unreal console (open with ~)
> fx.InvalidateCachedScripts

Related in fx