Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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
null
if the ContentSummary was not populated.
Additional Resources: ContentSummary