Class ScriptableBuildPipeline
Static class containing per project build settings.
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Utilities
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public static class ScriptableBuildPipeline
Properties
CacheServerHost
The host of the Build Cache Server.
Declaration
public static string CacheServerHost { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CacheServerPort
The port number for the Build Cache Server.
Declaration
public static int CacheServerPort { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
UseBuildCacheServer
Flag to determine if the Build Cache Server is to be used.
Declaration
public static bool UseBuildCacheServer { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
logAssetWarnings
Log a warning on invalid asset references.
Declaration
public static bool logAssetWarnings { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
logCacheMiss
Log a warning on build cache misses. Warning will contain which asset and dependency caused the miss.
Declaration
public static bool logCacheMiss { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
maximumCacheSize
The size of the Build Cache folder will be kept below this maximum value when possible.
Declaration
public static int maximumCacheSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
slimWriteResults
Reduces the caching of WriteResults data down to the bare minimum for improved cache performance.
Declaration
public static bool slimWriteResults { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
threadedArchiving
Thread the archiving and compress build stage.
Declaration
public static bool threadedArchiving { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
useDetailedBuildLog
Set this to true to write more detailed event information in the build log. Set to false to only write basic event information.
Declaration
public static bool useDetailedBuildLog { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
useV2Hasher
Set this to true to use the same hasher as Asset Database V2. This hasher improves build cache performance, but invalidates the existing build cache.
Declaration
public static bool useV2Hasher { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |