# GetAssetBundle

> Deprecated. Replaced by UnityWebRequestAssetBundle.GetAssetBundle.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Networking](/engine/6000.3/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

## GetAssetBundle(string)

Deprecated. Replaced by [UnityWebRequestAssetBundle.GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md).

> **Warning:**
>
> **Removed.** UnityWebRequest.GetAssetBundle is obsolete. Use UnityWebRequestAssetBundle.GetAssetBundle instead
>
> **Upgrade to** [GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md)

```csharp
public static UnityWebRequest GetAssetBundle(string uri)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                                                         | Description |
| -------------------------------------------------------------------------------------------- | ----------- |
| [UnityWebRequest](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest.md) |             |

## GetAssetBundle(string, uint)

Deprecated. Replaced by [UnityWebRequestAssetBundle.GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md).

> **Warning:**
>
> **Removed.** UnityWebRequest.GetAssetBundle is obsolete. Use UnityWebRequestAssetBundle.GetAssetBundle instead
>
> **Upgrade to** [GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md)

```csharp
public static UnityWebRequest GetAssetBundle(string uri, uint crc)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)):&#x20;

### Returns

| Type                                                                                         | Description |
| -------------------------------------------------------------------------------------------- | ----------- |
| [UnityWebRequest](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest.md) |             |

## GetAssetBundle(string, uint, uint)

Deprecated. Replaced by [UnityWebRequestAssetBundle.GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md).

> **Warning:**
>
> **Removed.** UnityWebRequest.GetAssetBundle is obsolete. Use UnityWebRequestAssetBundle.GetAssetBundle instead
>
> **Upgrade to** [GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md)

```csharp
public static UnityWebRequest GetAssetBundle(string uri, uint version, uint crc)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): **** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)):&#x20;

### Returns

| Type                                                                                         | Description |
| -------------------------------------------------------------------------------------------- | ----------- |
| [UnityWebRequest](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest.md) |             |

## GetAssetBundle(string, Hash128, uint)

Deprecated. Replaced by [UnityWebRequestAssetBundle.GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md).

> **Warning:**
>
> **Removed.** UnityWebRequest.GetAssetBundle is obsolete. Use UnityWebRequestAssetBundle.GetAssetBundle instead
>
> **Upgrade to** [GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md)

```csharp
public static UnityWebRequest GetAssetBundle(string uri, Hash128 hash, uint crc)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[Hash128]\(/engine/6000.3/script-reference/unityengine/hash128)): **** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)):&#x20;

### Returns

| Type                                                                                         | Description |
| -------------------------------------------------------------------------------------------- | ----------- |
| [UnityWebRequest](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest.md) |             |

## GetAssetBundle(string, CachedAssetBundle, uint)

Deprecated. Replaced by [UnityWebRequestAssetBundle.GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md).

> **Warning:**
>
> **Removed.** UnityWebRequest.GetAssetBundle is obsolete. Use UnityWebRequestAssetBundle.GetAssetBundle instead
>
> **Upgrade to** [GetAssetBundle](/engine/6000.3/script-reference/unityengine/networking/unitywebrequestassetbundle/getassetbundle.md)

```csharp
public static UnityWebRequest GetAssetBundle(string uri, CachedAssetBundle cachedAssetBundle, uint crc)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[CachedAssetBundle]\(/engine/6000.3/script-reference/unityengine/cachedassetbundle)): **** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)):&#x20;

### Returns

| Type                                                                                         | Description |
| -------------------------------------------------------------------------------------------- | ----------- |
| [UnityWebRequest](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest.md) |             |
