# BuildReportSummary

> Contains summary information about a build tracked in the BuildHistory.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.Build](/engine/6000.6/script-reference/unityeditor/build.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct BuildReportSummary
```

## Remarks

Each build tracked in the [BuildHistory](/engine/6000.6/script-reference/unityeditor/build/buildhistory.md) writes a [BuildReportSummary](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary.md) file in JSON format alongside its other build metadata. This structure contains a subset of the information available in the full [BuildReport](/engine/6000.6/script-reference/unityeditor/build/reporting/buildreport.md), and uses JSON format to facilitate parsing by external tools. To access more detailed build information from within the Editor, use [BuildHistory.LoadBuildReport](/engine/6000.6/script-reference/unityeditor/build/buildhistory/loadbuildreport.md) to load the full [BuildReport](/engine/6000.6/script-reference/unityeditor/build/reporting/buildreport.md).

Additional Resources: [BuildHistory](/engine/6000.6/script-reference/unityeditor/build/buildhistory.md), [BuildReport](/engine/6000.6/script-reference/unityeditor/build/reporting/buildreport.md), [BuildSummary](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary.md)

## Fields

| Value                                                                                                                                  | Description                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [BuildContentOptions](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildcontentoptions.md)                     | For ContentDirectory builds, the content build options, as an array of string values from the [BuildContentOptions](/engine/6000.6/script-reference/unityeditor/buildcontentoptions.md) enum.                                                                                              |
| [BuildManifestHash](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildmanifesthash.md)                         | For ContentDirectory builds, the Hash128 of the build manifest as a string. For other build types, this is a default Hash128 string.                                                                                                                                                       |
| [BuildName](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildname.md)                                         | For content directory builds, the build name. For Player builds, the product name from PlayerSettings.                                                                                                                                                                                     |
| [BuildOptions](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildoptions.md)                                   | For Player builds, the build options, as an array of string values from the [BuildOptions](/engine/6000.6/script-reference/unityeditor/buildoptions.md) enum.                                                                                                                              |
| [BuildProfilePath](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildprofilepath.md)                           | The Asset path of the BuildProfile that was active when the build started, or an empty string when none was active.                                                                                                                                                                        |
| [BuildResult](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildresult.md)                                     | The outcome of the build.                                                                                                                                                                                                                                                                  |
| [BuildResultName](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildresultname.md)                             | The outcome of the build, as the string form of the [BuildResult](/engine/6000.6/script-reference/unityeditor/build/reporting/buildresult.md) enum.                                                                                                                                        |
| [BuildSessionGUID](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildsessionguid.md)                           | A unique identifier for the build session in the Unity Editor.                                                                                                                                                                                                                             |
| [BuildStartedAt](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildstartedat.md)                               | The time the build was started, as a UTC timestamp in ISO 8601 round-trip format.                                                                                                                                                                                                          |
| [BuildType](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildtype.md)                                         | The type of build.                                                                                                                                                                                                                                                                         |
| [BuildTypeName](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildtypename.md)                                 | The type of build, as the string form of the [BuildType](/engine/6000.6/script-reference/unityeditor/build/reporting/buildtype.md) enum.                                                                                                                                                   |
| [ContentSourceBuildSessionGUID](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/contentsourcebuildsessionguid.md) | For scripts-only or incremental Player builds that reuse an earlier build's content, the [BuildReportSummary.BuildSessionGUID](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/buildsessionguid.md) of that source build. A default-valued GUID for all other builds. |
| [OutputPath](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/outputpath.md)                                       | The output path for the build.                                                                                                                                                                                                                                                             |
| [Platform](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/platform.md)                                           | The platform the build was created for.                                                                                                                                                                                                                                                    |
| [PlatformName](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/platformname.md)                                   | The platform the build was created for, as the string form of the [BuildTarget](/engine/6000.6/script-reference/unityeditor/buildtarget.md) enum.                                                                                                                                          |
| [Subtarget](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/subtarget.md)                                         | The subtarget the build was created for, as an integer.                                                                                                                                                                                                                                    |
| [SubtargetName](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/subtargetname.md)                                 | The subtarget the build was created for, as a string.                                                                                                                                                                                                                                      |
| [TotalErrors](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/totalerrors.md)                                     | The total number of errors and exceptions recorded during the build process.                                                                                                                                                                                                               |
| [TotalSizeBytes](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/totalsizebytes.md)                               | The total size of the build output, in bytes.                                                                                                                                                                                                                                              |
| [TotalTimeMs](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/totaltimems.md)                                     | The total time taken by the build process, in milliseconds.                                                                                                                                                                                                                                |
| [TotalWarnings](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/totalwarnings.md)                                 | The total number of warnings recorded during the build process.                                                                                                                                                                                                                            |
| [Version](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/version.md)                                             | The schema version of the [BuildReportSummary](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary.md) JSON format.                                                                                                                                                       |

## Static Methods

| Method                                                                               | Description                                                                                                                                   |
| ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [Load](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary/load.md) | Loads a [BuildReportSummary](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary.md) from a JSON file at the specified path. |
