Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BuildReportSummary

Contains summary information about a build tracked in the BuildHistory.
Read time 2 minutesLast updated 11 days ago

Definition

public struct BuildReportSummary

Remarks

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

Fields

Value

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 content directory 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.
BuildProfilePathThe Asset path of the BuildProfile that was active when the build started, or an empty string when none was active.
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.
ContentSourceBuildSessionGUIDFor scripts-only or incremental Player builds that reuse an earlier build's content, the BuildReportSummary.BuildSessionGUID of that source build. A default-valued GUID for all other builds.
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.