# GetLatestReport()

> Return the build report generated by the most recent Player or AssetBundle build

## Definition

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

```csharp
public static BuildReport GetLatestReport()
```

### Returns

| Type                                                                                      | Description |
| ----------------------------------------------------------------------------------------- | ----------- |
| [BuildReport](/engine/6000.0/script-reference/unityeditor/build/reporting/buildreport.md) |             |

### Remarks

A BuildReport is generated when a Player build runs, or when [BuildPipeline.BuildAssetBundles](/engine/6000.0/script-reference/unityeditor/buildpipeline/buildassetbundles.md) is called. The BuildReport is automatically saved to **Library/LastBuild.buildreport** and can be reloaded using this static method.
