# BuildSummary

> Contains overall summary information about a build.

## Definition

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

```csharp
public struct BuildSummary
```

## Remarks

This struct is part of the [BuildReport](/engine/6000.6/script-reference/unityeditor/build/reporting/buildreport.md) and is accessible via [\_summary](/engine/6000.6/script-reference/unityeditor/build/reporting/buildreport/summary.md). 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](/engine/6000.6/script-reference/unityeditor/build/reporting/buildreport.md), use [BuildReportSummary](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary.md), which is stored as JSON and tracked by the [BuildHistory](/engine/6000.6/script-reference/unityeditor/build/buildhistory.md).

Additional Resources: [BuildReportSummary](/engine/6000.6/script-reference/unityeditor/build/buildreportsummary.md), [BuildHistory](/engine/6000.6/script-reference/unityeditor/build/buildhistory.md)

## Properties

| Property                                                                                                                                   | Description                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [assetBundleOptions](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/assetbundleoptions.md)                       | If the build is an AssetBundle build this returns the [BuildAssetBundleOptions](/engine/6000.6/script-reference/unityeditor/buildassetbundleoptions.md) passed to [BuildPipeline.BuildAssetBundles](/engine/6000.6/script-reference/unityeditor/buildpipeline/buildassetbundles.md).     |
| [buildContentOptions](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildcontentoptions.md)                     | If the build is a ContentDirectory build this returns the [BuildContentOptions](/engine/6000.6/script-reference/unityeditor/buildcontentoptions.md) passed to [BuildPipeline.BuildContentDirectory](/engine/6000.6/script-reference/unityeditor/buildpipeline/buildcontentdirectory.md). |
| [buildEndedAt](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildendedat.md)                                   | The time the build ended, in UTC.                                                                                                                                                                                                                                                        |
| [buildManifestHash](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildmanifesthash.md)                         | For ContentDirectory builds this returns the Hash128 of the build manifest. For other build types this returns a default Hash128.                                                                                                                                                        |
| [buildName](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildname.md)                                         | For content directory builds this returns the build name. For Player builds this returns the product name from PlayerSettings.                                                                                                                                                           |
| [buildProfileGuid](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildprofileguid.md)                           | The AssetDatabase GUID of the [BuildProfile](/engine/6000.6/script-reference/unityeditor/build/profile/buildprofile.md) that was active when the build started.                                                                                                                          |
| [buildProfilePath](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildprofilepath.md)                           | The Asset path of the [BuildProfile](/engine/6000.6/script-reference/unityeditor/build/profile/buildprofile.md) that was active when the build started.                                                                                                                                  |
| [buildSessionGuid](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildsessionguid.md)                           | A unique identifier for the build session in the Unity Editor.                                                                                                                                                                                                                           |
| [buildStartedAt](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildstartedat.md)                               | The time the build was started, in UTC.                                                                                                                                                                                                                                                  |
| [buildType](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildtype.md)                                         | The type of build.                                                                                                                                                                                                                                                                       |
| [contentSourceBuildSessionGuid](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/contentsourcebuildsessionguid.md) | For scripts-only or incremental Player builds that reuse an earlier build's content, the [\_buildSessionGuid](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/buildsessionguid.md) of that source build. A default-valued GUID for all other builds.            |
| [dataPath](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/datapath.md)                                           | The platform-specific path of the Data folder for a player build. For AssetBundle builds, this will be identical to the output path.                                                                                                                                                     |
| [guid](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/guid.md)                                                   | The GUID of a Player build.                                                                                                                                                                                                                                                              |
| [options](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/options.md)                                             | The [BuildOptions](/engine/6000.6/script-reference/unityeditor/buildoptions.md) used for the build, as passed to [BuildPipeline.BuildPlayer](/engine/6000.6/script-reference/unityeditor/buildpipeline/buildplayer.md).                                                                  |
| [outputPath](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/outputpath.md)                                       | The output path for the build, as provided to [BuildPipeline.BuildPlayer](/engine/6000.6/script-reference/unityeditor/buildpipeline/buildplayer.md).                                                                                                                                     |
| [platform](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/platform.md)                                           | The platform that the build was created for.                                                                                                                                                                                                                                             |
| [platformGroup](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/platformgroup.md)                                 | The platform group the build was created for.                                                                                                                                                                                                                                            |
| [result](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/result.md)                                               | The outcome of the build.                                                                                                                                                                                                                                                                |
| [totalErrors](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/totalerrors.md)                                     | The total number of errors and exceptions recorded during the build process.                                                                                                                                                                                                             |
| [totalSize](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/totalsize.md)                                         | The total size of the build output, in bytes.                                                                                                                                                                                                                                            |
| [totalTime](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/totaltime.md)                                         | The total time taken by the build process.                                                                                                                                                                                                                                               |
| [totalWarnings](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/totalwarnings.md)                                 | The total number of warnings recorded during the build process.                                                                                                                                                                                                                          |

## Methods

| Method                                                                                                   | Description                                   |
| -------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [GetSubtarget](/engine/6000.6/script-reference/unityeditor/build/reporting/buildsummary/getsubtarget.md) | The subtarget that the build was created for. |
