Import Custom Assets
π Usage guidance for importing custom asset PAK files into UnrealZoo.
Import Custom Assets into UnrealZoo
UnrealZoo supports loading custom Unreal Engine assets through standard Unreal Engine PAK files.
Users only need to package their assets into a .pak file and place it into the UnrealZoo Paks directory. UnrealZoo will automatically mount and scan these assets during startup.
Quick Start
- Place your custom assets in your UE project, eg. YourProject/Content/MyAssets/
- Create a PAK file from those assets
- Place the PAK file in .../UnrealZoo_UE5_6_v3.0.1/Windows/UnrealZoo_UE5_6/Content/Paks/
- Start UnrealZoo - assets are automatically mounted
Prerequisites
- Unreal Engine 5.6
- UnrealZoo v3.0.0 or newer
- Basic familiarity with Unreal Engine asset creation
Step 1. Create a PAK File
UnrealZoo follows Unreal Engine's standard PAK loading mechanism.
Please refer to Epic Games' official tutorial:
Official Tutorial
https://dev.epicgames.com/community/learning/tutorials/7Bj8/unreal-engine-example-project-loading-pak-files-at-runtime
The general process is:
- Create a normal Unreal Engine project.
- Import your custom assets.
- Cook the assets.
- Package them into a .pak file.
1. Organize Assets
Place all assets that should be exported into a PAK under a dedicated folder.
Example:
```plain text Content/ βββ MyAssets/ βββ Meshes/ βββ Materials/ βββ Textures/ βββ Characters/
---
## 2. Create a Primary Asset Label
In the Content Browser:
```plain text
Right Click
βββ Miscellaneous
βββ Data Asset
βββ PrimaryAssetLabel


Create a new asset:

Configure the asset:
| Setting | Value |
|---|---|
| Chunk ID | 111 |
| Apply Recursively | Enabled |
| Cook Rule | Always Cook |
Note: ChunkId shall be any unique positive integer greater than 0 and must be unique within UnrealZoo. The two PAK files must be assigned distinct ChunkIds. Id 0 is reserved and unavailable for use.

Next, add all assets intended for packaging into the PAK file to the Explicit Asset and Explicit Blueprint fields of the Data Asset. Conventional UAsset resources such as levels and meshes go into Explicit Asset, while character blueprints and similar blueprint assets are added to Explicit Blueprint.

3. Configure Packaging
Open:
```plain text Edit βββ Project Settings βββ Packaging

Open the Packaging pannel in Project Sttings.
Enable:
- Use Pak File
- Generate Chunks
Disable:
- Use Io Store
If βUse Io Storeβ is Enabled, please disable it.
---
## 4. Configure Asset Manager
Open:
```plain text
Edit
βββ Project Settings
βββ Asset Manager
Open the Asset Manager pannel in Project Sttings.
Disable:
- PrimaryAssetLabel - Is Editor Only

5. Package the Project
Package the project using the typical workflow:
```plain text Platforms βββ Windows βββ Package Project

Choose an output directory:

Wait for packaging to complete:

Unreal Editor will notify you when the packaging is completed:

---
## 6. Locate the Generated PAK
After packaging, the generated PAK file can be found under:
```plain text
OutputPath/
βββ Windows/
βββ YourProject/
βββ Content/
βββ Paks/
Example output:

Step 2. Import into UnrealZoo
After creating your .pak file, importing it into UnrealZoo only requires copying the file into the correct directory.
Copy the PAK File
Place the generated .pak file into UnrealZoo's PAK directory.
Example:
plain text
UnrealZoo-UE5/
βββ UnrealZoo_UE5_6_v3.0.1/
βββ Windows/
βββ UnrealZoo_UE5_6/
βββ Content/
βββ Paks/
βββ pakchunk111-Windows.pak
Multiple PAK files can be placed in this directory simultaneously.
Start UnrealZoo
Launch UnrealZoo normally.
During startup, UnrealZoo will:
- Search the Content/Paks/ directory.
- Automatically mount all discovered PAK files.
- Scan assets contained in the mounted PAKs.