# GetRootAssetPaths()

> Retrieve the array of paths of root assets that were built in a ContentDirectory build.

## Definition

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

```csharp
public string[] GetRootAssetPaths()
```

### Returns

| Type                                                               | Description                                                                        |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| [string\[\]](https://learn.microsoft.com/dotnet/api/system.string) | An array of root asset paths, or an empty array for Player and AssetBundle builds. |

### Remarks

Additional Resources: [\_rootAssetPaths](/engine/6000.7/script-reference/unityeditor/buildcontentdirectoryparameters/rootassetpaths.md)
