foliage.DiscardDataOnLoad
foliage.DiscardDataOnLoad is a console variable in Unreal Engine 5 (UE5). See what foliage.DiscardDataOnLoad does, its values, and how to use this cvar in the Unreal console below.
Category: Remaining · Namespace:
foliageHelp
1: Discard foliage data on load if the foliage type has it enabled; 0: Keep foliage data regardless of whether the foliage type has it enabled or not (requires reloading level)
Usage
Unreal console (open with ~)
> foliage.DiscardDataOnLoad 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in foliage
foliage.CullAllVarfoliage.CullAllInVertexShaderVarfoliage.DebugBuildTreeAsyncDelayInSecondsVarfoliage.DensityScaleVarfoliage.DisableCullVarfoliage.DitheredLODVarfoliage.ForceLODVarfoliage.FreezeCmdfoliage.InstanceRunsVarfoliage.LODDistanceScaleVarfoliage.LogFoliageFrameCmdfoliage.MaxOcclusionQueriesPerComponentVar