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

BuildReportSummary

struct in UnityEditor.Build

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 summary information about a build tracked in the BuildHistory.

Each build tracked in the BuildHistory writes a BuildReportSummary file in JSON format alongside its other build metadata. This structure contains a subset of the information available in the full BuildReport, and uses JSON format to facilitate parsing by external tools. To access more detailed build information from within the Editor, use BuildHistory.LoadBuildReport to load the full BuildReport.

Additional resources: BuildHistory, BuildReport, BuildSummary

Properties

Property Description
BuildContentOptionsFor ContentDirectory builds, the content build options, as an array of string values from the BuildContentOptions enum.
BuildManifestHashFor ContentDirectory builds, the Hash128 of the build manifest as a string. For other build types, this is a default Hash128 string.
BuildNameFor ContentDirectory builds, the build name. For Player builds, the product name from PlayerSettings.
BuildOptionsFor Player builds, the build options, as an array of string values from the BuildOptions enum.
BuildResultThe outcome of the build.
BuildResultNameThe outcome of the build, as the string form of the BuildResult enum.
BuildSessionGUIDA unique identifier for the build session in the Unity Editor.
BuildStartedAtThe time the build was started, as a UTC timestamp in ISO 8601 round-trip format.
BuildTypeThe type of build.
BuildTypeNameThe type of build, as the string form of the BuildType enum.
OutputPathThe output path for the build.
PlatformThe platform the build was created for.
PlatformNameThe platform the build was created for, as the string form of the BuildTarget enum.
SubtargetThe subtarget the build was created for, as an integer.
SubtargetNameThe subtarget the build was created for, as a string.
TotalErrorsThe total number of errors and exceptions recorded during the build process.
TotalSizeBytesThe total size of the build output, in bytes.
TotalTimeMsThe total time taken by the build process, in milliseconds.
TotalWarningsThe total number of warnings recorded during the build process.
VersionThe schema version of the BuildReportSummary JSON format.

Static Methods

Method Description
LoadLoads a BuildReportSummary from a JSON file at the specified path.