# GetAssetPackPath(string)

> Gets the full path to the location where the device stores the assets for the Android asset pack.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Android](/engine/6000.5/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public static string GetAssetPackPath(string assetPackName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the Android asset pack to get path.

### Returns

| Type                                                           | Description                                                                                                                                                                                                                       |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The full path to the location where the device stores the assets for the Android asset pack. An empty string if the asset pack you specify is not on the device, or if it doesn't use the fast-follow or on-demand delivery type. |

### Remarks

This method directly wraps Google's [PlayCore plug-in](https://developer.android.com/guide/playcore) API. If the PlayCore plug-in is missing, calling this method throws an `InvalidOperationException`.

You can use the returned path with file I/O methods to access assets inside.

Additional Resources: [AndroidAssetPacks.DownloadAssetPackAsync](/engine/6000.5/script-reference/unityengine/android/androidassetpacks/downloadassetpackasync.md).
