# Reimport assets from command line

**URL:** <https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201>\
**Category:** Pipeline & Plugins\
**Tags:** Cooking, commandlet, unreal-engine, question\
**Created:** [September 12, 2016, 8:07pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201 "2016-09-12T20:07:14Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![SyphK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyphK](https://forums.unrealengine.com/u/SyphK)\
**Post date:** [September 12, 2016, 8:07pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/1 "2016-09-12T20:07:14Z")

</div>

I need to be able to cook assets through the command line. The problem is that I’ll need to modify the source of the assets (e.g. fbx files), and before cooking I need to re-import them for the changes to take effect.  
I need this process to be automated so I can’t open the editor and re-import them myself.

Is there a way to achieve this?

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 13, 2016, 6:44pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/2 "2016-09-13T18:44:27Z")

</div>

Hi Syphk:

Have you read the documentation on [Content Cooking?](https://docs.unrealengine.com/latest/INT/Engine/Deployment/Cooking/) If I understand you correctly, you are trying to do what is described here: [Patching.](https://docs.unrealengine.com/latest/INT/Engine/Deployment/Patching/index.html) -only through the command line, which you may be able piece together between the those articles but we do not officially support this.

.

---

<div class="post-metadata">

**Author:** ![SyphK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyphK](https://forums.unrealengine.com/u/SyphK)\
**Post date:** [September 14, 2016, 10:20am UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/3 "2016-09-14T10:20:35Z")

</div>

Hi ,

I’ve already read them both, but I can’t find a solution. The problem is that I need to automate this process. It should go like this: the project has a shared folder that is monitored for content changes (configured in the Editor Preferences). Someone from the art team makes changes to an fbx and texture, in the shared folder. I need unreal to automatically detect those changes when I run the “run=cook” command (so they are re-imported). The assets are always going to be the same, so I can specify them manually in the command. The part that is missing is the auto-reimport, because I need this process to be automated and the auto-reimport feature only works when I open the Editor in a window.

Thanks for your help

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [September 14, 2016, 8:33pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/4 "2016-09-14T20:33:59Z")

</div>

This functionality is not currently supported in the engine but is being considered. As it stands you must open the editor in order to convert the fbx files to uasset files.

---

<div class="post-metadata">

**Author:** ![SyphK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyphK](https://forums.unrealengine.com/u/SyphK)\
**Post date:** [September 14, 2016, 9:59pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/5 "2016-09-14T21:59:40Z")

</div>

Alright thanks 🙂  
I might try to make it by editing the source code but it doesn’t look to be a simple task.

---

<div class="post-metadata">

**Author:** ![BoubQC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BoubQC](https://forums.unrealengine.com/u/BoubQC)\
**Post date:** [November 16, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/6 "2016-11-16T13:28:30Z")

</div>

Any idea where you are at on this? Would need this feature too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [November 17, 2016, 7:07pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/7 "2016-11-17T19:07:03Z")

</div>

This feature has been added to UE4.14. The documentation is pending for this feature, however.

---

<div class="post-metadata">

**Author:** ![Thien\_Nguyen\_IG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thien\_Nguyen\_IG](https://forums.unrealengine.com/u/Thien_Nguyen_IG)\
**Post date:** [January 13, 2017, 3:44pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/8 "2017-01-13T15:44:36Z")

</div>

I’m also interested in this. Could you post a link to the documentation on how to do this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 13, 2017, 8:52pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/9 "2017-01-13T20:52:04Z")

</div>

The documentation is still pending for this feature.

---

<div class="post-metadata">

**Author:** ![BoubQC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BoubQC](https://forums.unrealengine.com/u/BoubQC)\
**Post date:** [January 20, 2017, 9:31pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/10 "2017-01-20T21:31:21Z")

</div>

Do you have a filename so I can check the code and see what I can do?

Can you import for the first time with this? Can you specify settings…

---

<div class="post-metadata">

**Author:** ![SyphK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyphK](https://forums.unrealengine.com/u/SyphK)\
**Post date:** [October 19, 2017, 1:53pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/11 "2017-10-19T13:53:13Z")

</div>

Hi ,

Still waiting for this. Is there documentation, or can you provide a simple example?

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2a88eede1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2a88eede1](https://forums.unrealengine.com/u/anonymous_user_2a88eede1)\
**Post date:** [November 22, 2017, 1:51pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/12 "2017-11-22T13:51:55Z")

</div>

Hi , I too am interested in this documentation/feature. Thanks

---

<div class="post-metadata">

**Author:** ![kaitorched](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaitorched](https://forums.unrealengine.com/u/kaitorched)\
**Post date:** [November 30, 2017, 9:19am UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/13 "2017-11-30T09:19:33Z")

</div>

Yeah, me too!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_850c623d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_850c623d](https://forums.unrealengine.com/u/anonymous_user_850c623d)\
**Post date:** [April 3, 2021, 7:48am UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/14 "2021-04-03T07:48:39Z")

</div>

One more interested soul…

---

<div class="post-metadata">

**Author:** ![s.hofer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@s.hofer](https://forums.unrealengine.com/u/s.hofer)\
**Post date:** [October 3, 2023, 3:48pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201/15 "2023-10-03T15:48:06Z")

</div>

Any updates on this?
