# How can i cook a single uasset

**URL:** <https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835>\
**Category:** Platform & Builds\
**Tags:** Cooking, unreal-engine, editor, question, CPP\
**Created:** [November 9, 2016, 2:04pm UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835 "2016-11-09T14:04:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vault\_Boss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vault\_Boss](https://forums.unrealengine.com/u/Vault_Boss)\
**Post date:** [November 9, 2016, 10:49am UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835/1 "2016-11-09T10:49:49Z")

</div>

my english is really bad. forgive me…

---

<div class="post-metadata">

**Author:** ![Vault\_Boss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vault\_Boss](https://forums.unrealengine.com/u/Vault_Boss)\
**Post date:** [November 9, 2016, 2:04pm UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835/2 "2016-11-09T14:04:38Z")

</div>

i’m already pak a uasset success. but it can’t be used in my pakage Gmae. i have been debug the game and check the output log. the log tell me : the asset must be cook before the game use it. then i try to cook a uasset before i pak it, but the cooking command just cook a uproject, so i want to know how to cook a single uasset.

---

<div class="post-metadata">

**Author:** ![Gildor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gildor](https://forums.unrealengine.com/u/Gildor)\
**Post date:** [November 13, 2016, 1:42pm UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835/3 "2016-11-13T13:42:17Z")

</div>

It is not possible to cook single uasset. You should cook the whole project. However, Unreal is very smart with this and it and it will not re-cook everything, but only changed files.

---

<div class="post-metadata">

**Author:** ![Vault\_Boss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vault\_Boss](https://forums.unrealengine.com/u/Vault_Boss)\
**Post date:** [December 6, 2016, 2:36pm UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835/4 "2016-12-06T14:36:54Z")

</div>

thank you very much. im already finished it.

---

<div class="post-metadata">

**Author:** ![TinyLabGo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tinylabgo/32/1053544_2.png) [@TinyLabGo](https://forums.unrealengine.com/u/TinyLabGo)\
**Post date:** [July 2, 2026, 10:01am UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-uasset/375835/5 "2026-07-02T10:01:13Z")

</div>

Cooking a single asset in C++ is essentially calling `SavePackage`with a specific cook context. To build this pipeline, you need to:

1. Call `BeginCacheForCookedPlatformData` on the asset for your target platform.

2. Wait for all asynchronous shader compilations and UE5 `AssetCompile` tasks to finish.

3. Call `SavePackage` using the correct `PackageWriter`, depending on whether your project uses traditional `.pak` files or `IoStore`.

If you don’t want to write and maintain this boilerplate C++ just to update a live game, I developed a plugin called **Runtime Details** that handles this exact low-level process under the hood.

Our **Asset Hot Update** feature automatically runs this cook pipeline for the specific asset you select and pushes it directly to your running Packaged Build over the network.

> **[Runtime Details - Remote Inspect, Debug & Hot Update for Packaged Builds](https://www.fab.com/listings/d79875b6-ae10-4e77-9621-14b7ad957a76)**
>
> Video Tutorials: https://www.youtube.com/playlist?list=PLSqwU8sbczQo1e00cj1814WUMoAeGSjYZ(For any questions, feel free to leave a comment below. I'm always happy to help!)Support: Join our \[Discord\] https://discord.gg/HvXDQCFkya Email:...

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/1/9a103aaad8848dcfb3b7cc9251abae325d71d19b.jpeg "How to Hot Update Assets in Packaged Builds | Unreal Engine | Runtime Details v1.3 Update") ](https://www.youtube.com/watch?v=P0OLLLdQPK0)
