UProjectPackagingSettings

Implements the Editor's user settings.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UProjectPackagingSettings

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Settings/ProjectPackagingSettings.h

Include

#include "Settings/ProjectPackagingSettings.h"

Syntax

class UProjectPackagingSettings : public UObject

Remarks

Implements the Editor's user settings.

Variables

Name Description

Public variable

FDirectoryPath

 

ApplocalPrerequisitesDirectory

A directory containing additional prerequisite packages that should be staged in the executable directory.

Public variable

bool

 

bBuildHttpChunkInstallData

If enabled, will generate data for HTTP Chunk Installer.

Public variable

bool

 

bChunkHardReferencesOnly

Normally during chunk generation all dependencies of a package in a chunk will be pulled into that package's chunk.

Public variable

bool

 

bCompressed

Create compressed cooked packages (decreased deployment size)

Public variable

bool

 

bCookAll

Cook all things in the project content directory

Public variable

bool

 

bCookMapsOnly

Cook only maps (this only affects the cookall flag)

Public variable

bool

 

bDeterministicShaderCodeOrder

With this option off, the shader code will be stored in the library essentially in a random order, squarely the same in which the assets were loaded by the cooker.

Public variable

bool

 

bExcludeMonolithicEngineHeadersInNativizedCode

Whether or not to exclude monolithic engine headers (e.g. Engine.h) in the generated code when nativizing Blueprint assets.

Public variable

bool

 

bForceOneChunkPerFile

If true, individual files are only allowed to be in a single chunk and it will assign it to the lowest number requested If false, it may end up in multiple chunks if requested by the cooker

Public variable

bool

 

bForceUseProjectCompressionFormatIgnoreHardwareOverride

Force use of PakFileCompressionFormats (do not use override HardwareCompressionFormat from DDPI)

Public variable

bool

 

bGenerateChunks

If enabled, will generate pak file chunks.

Public variable

bool

 

bGenerateNoChunks

If enabled, no platform will generate chunks, regardless of settings in platform-specific ini files.

Public variable

bool

 

bIncludeNativizedAssetsInProjectGeneration

If enabled, the nativized assets code plugin will be added to the Visual Studio solution if it exists when regenerating the game project.

Public variable

EProjectPackagi...

 

BlueprintNativizationMethod

If enabled, then the project's Blueprint assets (including structs and enums) will be intermediately converted into C++ and used in the packaged project (in place of the .uasset files).

Public variable

bool

 

bMakeBinaryConfig

If enabled, staging will make a binary config fie for faster loading.

Public variable

bool

 

bSharedMaterialNativeLibraries

By default shader shader code gets saved into individual platform agnostic files, enabling this option will use the platform-specific library format if and only if one is available This will reduce overall package size but might increase loading time

Public variable

bool

 

bShareMaterialShaderCode

By default shader code gets saved inline inside material assets, enabling this option will store only shader code once as individual files This will reduce overall package size but might increase loading time

Public variable

bool

 

bSkipEditorContent

Don't include content in any editor folders when cooking.

Public variable

bool

 

bSkipMovies

Don't include movies by default when staging/packaging Specific movies can be specified below, and this can be in a platform ini

Public variable

EProjectPackagi...

 

Build

Specifies whether to build the game executable during packaging.

Public variable

TEnumAsByte< EP...

 

BuildConfiguration

The build configuration for which the project is packaged.

Public variable

FString

 

BuildTarget

Name of the target to build

Public variable

bool

 

bUseIoStore

If enabled, all packages will be put into one or more container files.

Public variable

TArray< FString...

 

CompressedChunkWildcard

If set, only these specific pak files will be compressed.

Public variable

TArray< FString...

 

CulturesToStage

Cultures whose data should be cooked, staged, and packaged.

Public variable

TArray< FDirect...

 

DirectoriesToAlwaysCook

Directories containing .uasset files that should always be cooked regardless of whether they're referenced by anything in your project These paths are stored either as a full package path (e.g. /Game/Folder, /Engine/Folder, /PluginName/Folder) or as a relative package path from /Game

Public variable

TArray< FDirect...

 

DirectoriesToAlwaysStageAsNonUFS

Directories containing files that should always be copied when packaging your project, but are not supposed to be part of the .pak file This is used to stage additional files that you manually load without using the UFS (Unreal File System) file IO API, eg, third-party libraries that perform their own internal file IO

Public variable

TArray< FDirect...

 

DirectoriesToAlwaysStageAsNonUFSServer

Directories containing files that should always be copied when packaging your project for a dedicated server, but are not supposed to be part of the .pak file This is used to stage additional files that you manually load without using the UFS (Unreal File System) file IO API, eg, third-party libraries that perform their own internal file IO

Public variable

TArray< FDirect...

 

DirectoriesToAlwaysStageAsUFS

Directories containing files that should always be added to the .pak file (if using a .pak file; otherwise they're copied as individual files) This is used to stage additional files that you manually load via the UFS (Unreal File System) file IO API

Public variable

TArray< FDirect...

 

DirectoriesToAlwaysStageAsUFSServer

Directories containing files that should always be added to the .pak file for a dedicated server (if using a .pak file; otherwise they're copied as individual files) This is used to stage additional files that you manually load via the UFS (Unreal File System) file IO API

Public variable

TArray< FDirect...

 

DirectoriesToNeverCook

Directories containing .uasset files that should never be cooked even if they are referenced by your project These paths are stored either as a full package path (e.g. /Game/Folder, /Engine/Folder, /PluginName/Folder) or as a relative package path from /Game

Public variable

bool

 

ForDistribution

If enabled, a distribution build will be created and the shipping configuration will be used If disabled, a development build will be created Distribution builds are for publishing to the App Store

Public variable

bool

 

FullRebuild

If enabled, a full rebuild will be enforced each time the project is being packaged.

Public variable

FDirectoryPath

 

HttpChunkInstallDataDirectory

When "Build HTTP Chunk Install Data" is enabled this is the directory where the data will be build to.

Public variable

FString

 

HttpChunkInstallDataVersion

Version name for HTTP Chunk Install Data.

Public variable

bool

 

IncludeAppLocalPrerequisites

Specifies whether to include prerequisites alongside the game executable.

Public variable

bool

 

IncludeCrashReporter

Specifies whether to include the crash reporter in the packaged project.

Public variable

bool

 

IncludeDebugFiles

If enabled, debug files will be included in the packaged game

Public variable

bool

 

IncludePrerequisites

Specifies whether to include an installer for prerequisites of packaged games, such as redistributable operating system components, on platforms that support it.

Public variable

TArray< FString...

 

IniKeyBlacklist

List of ini file keys to strip when packaging

Public variable

TArray< FString...

 

IniSectionBlacklist

List of ini file sections to strip when packaging

Public variable

EProjectPackagi...

 

InternationalizationPreset

Predefined sets of culture whose internationalization data should be packaged.

Public variable

int32

 

LocalizationTargetCatchAllChunkId

The chunk ID that should be used as the catch-all chunk for any non-asset localized strings

Public variable

TArray< FString...

 

LocalizationTargetsToChunk

List of localization targets that should be chunked during cooking (if using chunks)

Public variable

TArray< FFilePa...

 

MapsToCook

List of maps to include when no other map list is specified on commandline

Public variable

int64

 

MaxChunkSize

If > 0 this sets a maximum size per chunk.

Public variable

TArray< FFilePa...

 

NativizeBlueprintAssets

List of Blueprints to include for nativization when using the exclusive method.

Public variable

TArray< FString...

 

NonUFSMovies

If SkipMovies is true, these specific movies will be copied when packaging your project, but are not supposed to be part of the .pak file This should be the name with no extension

Public variable

FString

 

PakFileAdditionalCompressionOptions

A generic setting for allowing a project to control compression settings during .pak file compression.

Public variable

FString

 

PakFileCompressionFormats

A comma separated list of formats to use for .pak file compression.

Public variable

int32

 

PakFileCompressionLevel_DebugDevelopment

For compressors with variable levels, select the encoder effort level, which makes packages smaller but takes more time to encode.

Public variable

int32

 

PakFileCompressionLevel_Distribution

Public variable

int32

 

PakFileCompressionLevel_TestShipping

Public variable

FString

 

PakFileCompressionMethod

For compressors with multiple methods, select one.

Public variable

FDirectoryPath

 

StagingDirectory

The directory to which the packaged project will be copied.

Public variable

TArray< FDirect...

 

TestDirectoriesToNotSearch

Directories containing .uasset files that are for editor testing purposes and should not be included in enumerations of all packages in a root directory, because they will cause errors on load These paths are stored either as a full package path (e.g. /Game/Folder, /Engine/Folder, /PluginName/Folder) or as a relative package path from /Game

Public variable

TArray< FString...

 

UFSMovies

If SkipMovies is true, these specific movies will still be added to the .pak file (if using a .pak file; otherwise they're copied as individual files) This should be the name with no extension

Public variable

bool

 

UsePakFile

If enabled, all content will be put into a one or more .pak files instead of many individual files (default = enabled).

Constructors

Name Description

Public function

UProjectPackagingSettings

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

bool

 

AddBlueprintAssetToNativizationList

(
    const UBlueprint* InBlueprint
)

Adds the given Blueprint asset to the exclusive nativization list.

Public function Const

const FTarge...

 

GetBuildTargetInfo()

Gets the current build target, checking that it's valid, and the default build target if it is not

Public function Static

TArray< EPro...

 

GetValidPackageConfigurations()

Gets a list of all valid packaging configurations for the current project

Public function Const

bool

 

IsBlueprintAssetInNativizationList

(
    const UBlueprint* InBlueprint
)

Determines if the specified Blueprint is already saved for exclusive nativization.

Public function

bool

 

RemoveBlueprintAssetFromNativizationList

(
    const UBlueprint* InBlueprint
)

Removes the given Blueprint asset from the exclusive nativization list.

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

CanEditChange

(
    const FProperty* InProperty
)

Called by the editor to query whether a property of this object is allowed to be modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Classes

Name

Description

Public struct

FConfigurationInfo

Information about each packaging configuration

Constants

Name

Description

ConfigurationInfo

Static array of information about each configuration

Deprecated Variables

Name Description

Public variable

bool

 

bEncryptIniFiles_DEPRECATED

Encrypt ini files inside of the pak file

Public variable

bool

 

bEncryptPakIndex_DEPRECATED

Encrypt the pak index

Public variable

TArray< FString...

 

EarlyDownloaderPakFileFiles_DEPRECATED

List of specific files to include with GenerateEarlyDownloaderPakFile

Public variable

bool

 

GenerateEarlyDownloaderPakFile_DEPRECATED

Enable the early downloader pak file pakearly.txt This has been superseded by the functionality in DefaultPakFileRules.ini

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss