r.ForceDebugViewModes
r.ForceDebugViewModes is a console variable in Unreal Engine 5 (UE5). See what r.ForceDebugViewModes does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
0: Setting has no effect. 1: Forces debug view modes to be available, even on cooked builds.2: Forces debug view modes to be unavailable, even on editor builds. Removes many shader permutations for faster shader iteration.
Usage
Unreal console (open with ~)
> r.ForceDebugViewModes 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.