# RefreshAsset()

> Re-resolves the asset and pushes the result to subscribers.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public void RefreshAsset()
```

### Remarks

Loads the asset again and invokes [LocalizedAsset\<TObject>.AssetChanged](/engine/6000.7/script-reference/unity/localization/localizedasset1/assetchanged.md) with the new value. Does nothing when no handler is subscribed. It runs automatically when the reference changes or the selected locale changes, so call it manually only when an external input requires a reload.

Force a reload of the localized asset.

### Examples

```csharp
using Unity.Localization;

namespace Unity.Localization.Samples
{
    public class LocalizedAssetRefreshExample
    {
        public void Refresh()
        {
            var localizedTexture = new LocalizedTexture();
            localizedTexture.SetReference("My Assets", "ICON");
            localizedTexture.RefreshAsset();
        }
    }
}
```
