Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BuildSummary

Contains overall summary information about a build.
Read time 2 minutesLast updated 13 days ago

Definition

public struct BuildSummary

Remarks

This struct is part of the BuildReport and is accessible via _summary. It contains detailed information such as build times, platform, options, and result.
For a lightweight alternative that can be read without loading the full BuildReport, use BuildReportSummary, which is stored as JSON and tracked by the BuildHistory.
Additional Resources: BuildReportSummary, BuildHistory

Properties

Property

Description

assetBundleOptionsIf the build is an AssetBundle build this returns the BuildAssetBundleOptions passed to BuildPipeline.BuildAssetBundles.
buildContentOptionsIf the build is a ContentDirectory build this returns the BuildContentOptions passed to BuildPipeline.BuildContentDirectory.
buildEndedAtThe time the build ended, in UTC.
buildManifestHashFor ContentDirectory builds this returns the Hash128 of the build manifest. For other build types this returns a default Hash128.
buildNameFor content directory builds this returns the build name. For Player builds this returns the product name from PlayerSettings.
buildProfileGuidThe AssetDatabase GUID of the BuildProfile that was active when the build started.
buildProfilePathThe Asset path of the BuildProfile that was active when the build started.
buildSessionGuidA unique identifier for the build session in the Unity Editor.
buildStartedAtThe time the build was started, in UTC.
buildTypeThe type of build.
contentSourceBuildSessionGuidFor scripts-only or incremental Player builds that reuse an earlier build's content, the _buildSessionGuid of that source build. A default-valued GUID for all other builds.
dataPathThe platform-specific path of the Data folder for a player build. For AssetBundle builds, this will be identical to the output path.
guidThe GUID of a Player build.
optionsThe BuildOptions used for the build, as passed to BuildPipeline.BuildPlayer.
outputPathThe output path for the build, as provided to BuildPipeline.BuildPlayer.
platformThe platform that the build was created for.
platformGroupThe platform group the build was created for.
resultThe outcome of the build.
totalErrorsThe total number of errors and exceptions recorded during the build process.
totalSizeThe total size of the build output, in bytes.
totalTimeThe total time taken by the build process.
totalWarningsThe total number of warnings recorded during the build process.

Methods

Method

Description

GetSubtargetThe subtarget that the build was created for.