UEConsole Commands
VariableConsole VariableRenderer

r.Shadow.UnbuiltPreviewInGame

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

Category: Renderer · Namespace: r

Help

Whether to render unbuilt preview shadows in game. When enabled and lighting is not built, expensive preview shadows will be rendered in game. When disabled, lighting in game and editor won\'t match which can appear to be a bug.

Usage

Unreal console (open with ~)
> r.Shadow.UnbuiltPreviewInGame 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