UEConsole Commands
VariableConsole VariableRenderer

r.DumpShaderDebugInfo

r.DumpShaderDebugInfo is a console variable in Unreal Engine 5 (UE5). See what r.DumpShaderDebugInfo does, its values, and how to use this cvar in the Unreal console below.

Category: Renderer · Namespace: r

Help

Dumps debug info for compiled shaders to GameName/Saved/ShaderDebugInfo When set to 1, debug info is dumped for all compiled shader When set to 2, it is restricted to shaders with compilation errors When set to 3, it is restricted to shaders with compilation errors or warnings The debug info is platform dependent, but usually includes a preprocessed version of the shader source. Global shaders automatically dump debug info if r.ShaderDevelopmentMode is enabled, this cvar is not necessary. On iOS, if the PowerVR graphics SDK is installed to the default path, the PowerVR shader compiler will be called and errors will be reported during the cook.

Usage

Unreal console (open with ~)
> r.DumpShaderDebugInfo 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in r