> For the complete documentation index, see [llms.txt](https://bkortbus.gitbook.io/unreal-python-recipe-book/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bkortbus.gitbook.io/unreal-python-recipe-book/assets/getting-the-default-object.md).

# Getting the Default Object

Getting the Default Object of an asset from the Content browser

## Getting an Asset's Default Object

To change the default values on a Blueprint Asset in the Content Browser, we need its default object:

```python
asset_path = "/Game/some/asset/path"
asset = unreal.load_asset(asset_path)
default_object = unreal.get_default_object(asset.generated_class())
```

{% hint style="danger" %} <mark style="color:yellow;">**Note:**</mark> While there is a `.get_default_object()` function available on the loaded asset reference in Python, it does not work as expected/desired here
{% endhint %}

This code gives us the default object of the asset, allowing us to update the asset's default values
