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:
fxDescription
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.InvalidateCachedScriptsRelated in fx
fx.GPUSimulationTextureSizeYVarfx.GPUSort.BufferSlackVarfx.GPUSort.FrameCountBeforeShrinkingVarfx.GPUSort.MinBufferSizeVarfx.GPUSort.StressTestVarFX.GPUSpawnWarningThresholdVarfx.InvalidateNiagaraPerfBaselinesCmdfx.LastRenderTimeSafetyBiasVarfx.LogCompileIdGenerationVarfx.LogCompileStaticVarsVarfx.LogNiagaraSystemChangesVarFX.MaxCPUParticlesPerEmitterVar