contentSummary
Retrieve statistics about the content of the build, such as total sizes, object counts, and breakdowns by Unity object type and source asset.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Build.Reporting
- Assembly: UnityEditor.CoreModule
public ContentSummary contentSummary { get; }
Remarks
ContentSummary is populated for Player builds, AssetBundle builds, and ContentDirectory builds. It is not populated for scripts-only Player builds (see BuildOptions.BuildScriptsOnly). For incremental AssetBundle builds, the statistics only reflect the AssetBundles that were rebuilt in the current build invocation; unchanged AssetBundles reused from previous builds are not included. This property returns if the ContentSummary was not populated.
nullAdditional Resources: ContentSummary