Skip to main content
Reference

Plugin Settings

The settings are in Project Settings → Game → Foliage Plugin and are saved in DefaultGame.ini.

Foliage Plugin settings

note

In the screenshot, Field System Actor is still set to FS_MasterField from an older version. The default is now FoliagePluginFieldSystemActor.

Foliage​

SettingDefaultDescription
Enable DebuggingOnShows on-screen debug messages and draws the blocking checks. See Logging and Debugging. Turn it off before you ship.
Foliage Data TableNoneThe Data Table with your resources. Its row structure must be FoliageData. See Data Table Settings.
Foliage Manager ClassFoliagePluginManagerThe manager class that is spawned automatically. See Custom Foliage Manager.
Hidden Foliage Move Distance10000How far down, in units on the Z axis, an instance is moved when it is hidden.
Auto Convert Instanced MeshesDisabledConverts instanced mesh components whose mesh is in the Data Table into FoliagePluginComponent when their level loads, so you do not have to change the Component Class. Painted Foliage Only converts foliage painted with the Foliage tool. All Instanced Static Meshes also converts other Instanced and Hierarchical Instanced Static Mesh components. See Automatic conversion.

Settings​

SettingDefaultDescription
Foliage Respawn Rate60Seconds between respawn attempts. Minimum 10. See respawning.
Block Foliage Despawn Radius1000A Foliage Actor is not destroyed while an object of a blocked type is within this radius.
Block Foliage Respawn Radius1000An instance does not respawn while an object of a blocked type is within this radius.
Max Respawn Checks Per Frame32The maximum number of respawn blocking checks per frame. Remaining respawns continue in the next frames, so a large number of respawns does not stall the server. Minimum 1.
Blocked Respawn Object TypesPawnObject types that block both despawning and respawning. Leave empty to never block.
Field System ActorFoliagePluginFieldSystemActorThe Field System Actor spawned to break Geometry Collections.
Field System Actor Life Span2Seconds a spawned Field System Actor stays before it is destroyed. Minimum 0.1.
Geometry Collection Actor ClassFoliagePluginGeometryCollectionActorThe actor spawned to show a destructible mesh. Set your own child class here.

Saving and Loading​

SettingDefaultDescription
Enable Persistent DataOffSaves hidden and removed instances between sessions.
Auto Saving Rate60Seconds between automatic saves. Minimum 5.
Save Game NameFoliageDataSave slot name.
Save File Per LevelOnAdds the level name to the save slot, so every level has its own save file.
Save Game Version1A save with a different version is ignored and overwritten.

See Saving and Loading.

Replication​

SettingDefaultDescription
Replicate Physics MovementOffReplicates the movement of depleted actors that simulate physics. Costs bandwidth, only turn it on if the positions matter for gameplay.

Performance​

SettingDefaultDescription
Enable Actor PoolingOffReuses Foliage Actors instead of destroying them and spawning new ones. See Actor pooling.
Max Pooled Actors Per Class32The maximum number of unused Foliage Actors kept per Foliage Actor class. Actors beyond this are destroyed. Minimum 1.