UEConsole Commands
VariableConsole VariableRenderer

r.PreventInvalidMaterialConnections

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

Category: Renderer · Namespace: r

Help

Controls whether users can make connections in the material editor if the system determines that they may cause compile errors 0: Allow all connections 1: Prevent invalid connections

Usage

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