Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ContentBuildFlags

Build options for content.
Read time 1 minuteLast updated 6 days ago

Definition

[Flags]public enum ContentBuildFlags

Remarks

Note: this enum and its values exist to provide low-level support for the Scriptable Build Pipeline package. This is intended for internal use only; use the Scriptable Build Pipeline package to implement a fully featured build pipeline. You can install this via the Package Manager window.

Fields

Value

Description

DevelopmentBuildBuild a development version of the content files.
DisableWriteTypeTreeDo not include type information within the built content.
ExtractTypeTreeBuild flag to indicate that TypeTree data is to be stripped from the serialized files and saved separately. The file path of the extracted data is recorded in the UnityEditor.Build.Content.WriteResult in the field 'extractedTypeTreeDataPath'.
NoneBuild content with no additional options.
StripUnityVersionBuild Flag to indicate the Unity Version should not be written to the serialized file.
SuppressLoadableErrorsSuppress the error reported when a LoadableObjectId or LoadableSceneId is encountered while writing content.