# ExternalBuildInfo

> Describes a build performed by an external build pipeline, for registration in the build history.

## Definition

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

```csharp
public struct ExternalBuildInfo
```

## Remarks

Pass this structure to [BuildHistory.RegisterExternalBuild](/engine/6000.7/script-reference/unityeditor/build/buildhistory/registerexternalbuild.md) to record a build performed outside the Unity build pipeline. Unity derives the stored [BuildReportSummary](/engine/6000.7/script-reference/unityeditor/build/buildreportsummary.md) from these values.

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

## Fields

| Value                                                                                                       | Description                                                                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [BuildName](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildname.md)               | The display name of the build.                                                                                                                                                                                                |
| [BuildResult](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildresult.md)           | The outcome of the build. Required.                                                                                                                                                                                           |
| [BuildSessionGUID](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildsessionguid.md) | A unique identifier for the build session. Required.                                                                                                                                                                          |
| [BuildStartedAt](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildstartedat.md)     | The time the build started. Required.                                                                                                                                                                                         |
| [BuildType](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildtype.md)               | The type of build. Required.                                                                                                                                                                                                  |
| [BuildTypeName](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildtypename.md)       | An optional display name for the build pipeline that performed the build. When empty, Unity uses the name of [ExternalBuildInfo.BuildType](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/buildtype.md). |
| [OutputPath](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/outputpath.md)             | The output path of the build.                                                                                                                                                                                                 |
| [Platform](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/platform.md)                 | The platform the build was created for. Required.                                                                                                                                                                             |
| [ProducerPackage](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/producerpackage.md)   | The name of the package whose build pipeline made this build, for example `com.unity.addressables`. Optional.                                                                                                                 |
| [TotalErrors](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/totalerrors.md)           | The total number of errors recorded during the build.                                                                                                                                                                         |
| [TotalSizeBytes](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/totalsizebytes.md)     | The total size of the build output, in bytes.                                                                                                                                                                                 |
| [TotalTime](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/totaltime.md)               | The total time taken by the build.                                                                                                                                                                                            |
| [TotalWarnings](/engine/6000.7/script-reference/unityeditor/build/externalbuildinfo/totalwarnings.md)       | The total number of warnings recorded during the build.                                                                                                                                                                       |
