# PreloadAsset Manager

## Overview <a href="#overview" id="overview"></a>

Preload Asset is a feature that preloads specific assets before the game starts. In OVERDARE, if assets are not loaded into memory at the start of the game, characters may fall through the ground. By using Preload Asset, terrain and major colliders can be preloaded before the game starts to prevent such issues.

## Recommended Use Cases <a href="#recommended-use-cases" id="recommended-use-cases"></a>

It is recommended to use it mainly for Mesh assets that must be ready at the start of the game.

* Mesh assets used in the terrain where characters spawn
* Objects that require collision processing at the start of the game
* Major structures that must be displayed immediately at the start of the game

In addition to Mesh, you can register various asset types such as Texture, Sound, and VFX. Consider registering any asset that needs to be used immediately at the start of the game, regardless of type.

## How to Use <a href="#how-to-use" id="how-to-use"></a>

### Open Preload Asset Manager <a href="#open-preload-asset-manager" id="open-preload-asset-manager"></a>

Click **Preload Asset Manager** in the top menu of the editor to open the panel. The panel can be docked and undocked from the editor, allowing you to check it frequently during work.

<figure><img src="https://2064130887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhrvYlLq1mQAq0V0vwPsb%2Fuploads%2Fgit-blob-4834a23c3e584d7f7e2ab8758a7b9f099e6061c0%2Fpreload-asset-manager.png?alt=media" alt="" width="30%"><figcaption></figcaption></figure>

### Adding Assets <a href="#adding-assets" id="adding-assets"></a>

Click the **Add** button at the top of the panel to open the **Add Assets to Preload** window. There are two ways to add assets.

<figure><img src="https://2064130887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhrvYlLq1mQAq0V0vwPsb%2Fuploads%2Fgit-blob-02675346ad3062554abfabf8ea9ee10d8de97c31%2Fpreload-asset-manager_1.gif?alt=media" alt="" width="50%"><figcaption></figcaption></figure>

**Method 1. Add by Asset Id**

* Enter the Asset Id of the asset you want to add in the input field at the top and press Enter.
* Assets not in the level browser, such as those uploaded to the cloud, can also be added via Asset Id.

**Method 2. Add by Drag and Drop**

* Drag and drop the asset you want to add from the level browser to the list area.
* You can drop multiple assets at once.

Once the addition is complete, click the **Save** button to confirm the registration.

### Removing Assets <a href="#removing-assets" id="removing-assets"></a>

There are two ways to remove registered assets.

<figure><img src="https://2064130887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhrvYlLq1mQAq0V0vwPsb%2Fuploads%2Fgit-blob-61035d961b36953fdd2392eb1ed36edffe75aef2%2Fpreload-asset-manager_2.gif?alt=media" alt="" width="30%"><figcaption></figcaption></figure>

**Remove Individually**

* Click the **X button** on the right of each asset row to remove it immediately.

**Remove in Bulk**

* Select the checkbox of the assets you want to remove and click the **Remove** button at the bottom.
* Click **Remove** in the confirmation dialog to remove the selected assets.

> Asset removal is automatically saved immediately.

### Search Registered Assets <a href="#search-registered-assets" id="search-registered-assets"></a>

Enter the Asset Id in the search box at the top of the panel to filter registered assets in real-time.

## Caution <a href="#caution" id="caution"></a>

* You can register up to **20** Preload Assets. The more assets registered, the longer the game entry time.
* If the number of registrable assets is exceeded, the Add button will be disabled.
* A warning message will be displayed if an invalid Asset Id is entered or if an invalid asset is dropped.
* It is recommended to register only essential assets.
