Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

BuildSummary

struct in UnityEditor.Build.Reporting

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Contains overall summary information about a build.

This struct is part of the BuildReport and is accessible via BuildReport.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.
buildEndedAtThe time the build ended.
buildManifestHashFor ContentDirectory builds this returns the Hash128 of the build manifest. For other build types this returns a default Hash128.
buildNameFor ContentDirectory builds this returns the build name. For Player builds this returns the product name from PlayerSettings.
buildSessionGuidA unique identifier for the build session in the Unity Editor.
buildStartedAtThe time the build was started.
buildTypeThe type of build.
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.
multiProcessEnabledWhether the multi-process option was enabled for the 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.

Public Methods

Method Description
GetSubtargetThe subtarget that the build was created for.