UEConsole Commands
CommandConsole CommandRenderer

r.InvalidateCachedShaders

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

Category: Renderer · Namespace: r

Description

Invalidate shader cache by making a unique change to ShaderVersion.ush which is included in common.usf.To initiate actual the recompile of all shaders use "recompileshaders changed" or press "Ctrl Shift .". The ShaderVersion.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 ~)
> r.InvalidateCachedShaders

Related in r