# \#commandlet

**URL:** https://forums.unrealengine.com/tag/commandlet/6424.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [UE5 Commandlet怎么做ReflectionCapture ](https://forums.unrealengine.com/t/ue5-commandlet-reflectioncapture/2538433)

<div class="topic-metadata">

**Author:** [@Chriszou2020](https://forums.unrealengine.com/u/Chriszou2020)\
**Replies:** 0\
**Last updated:** [June 3, 2025, 3:58am UTC](https://forums.unrealengine.com/t/ue5-commandlet-reflectioncapture/2538433 "2025-06-03T03:58:22Z")

</div>

我本地尝试使用World Partition的Builder，在RunInternal函数写了一些获取场景渲染信息的功能，但是调试发现场景的Actor都可以加载，但是没有渲染相关的数据，比如导不出screenshot，viewport为空等问题，像是渲染逻辑没有启动，不知道哪里的参数设置有问题，想问下有没有一个用world partition加载地图，在commandlet下烘焙反射球的例子可以参考一下，非常感谢！ PS：这套逻辑在U…

---

## [Waiting for skinned assets, groom bindings to be ready when building HLODs](https://forums.unrealengine.com/t/waiting-for-skinned-assets-groom-bindings-to-be-ready-when-building-hlods/2318143)

<div class="topic-metadata">

**Author:** [@RYRY1002](https://forums.unrealengine.com/u/RYRY1002)\
**Replies:** 0\
**Last updated:** [February 5, 2025, 1:30am UTC](https://forums.unrealengine.com/t/waiting-for-skinned-assets-groom-bindings-to-be-ready-when-building-hlods/2318143 "2025-02-05T01:30:46Z")

</div>

When building geometry for existing World Partition HLOD Actors using the commandlet provided in the docs, I have to wait for skinned assets and then groom bindings to be ready before any HLOD Actors can be built. This …

---

## [How to convert an Unreal Engine 5 Blueprint-only project to a C++ project using command line and compile it?](https://forums.unrealengine.com/t/how-to-convert-an-unreal-engine-5-blueprint-only-project-to-a-c-project-using-command-line-and-compile-it/1996154)

<div class="topic-metadata">

**Author:** [@Ramedons](https://forums.unrealengine.com/u/Ramedons)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 6:14am UTC](https://forums.unrealengine.com/t/how-to-convert-an-unreal-engine-5-blueprint-only-project-to-a-c-project-using-command-line-and-compile-it/1996154 "2024-08-29T06:14:28Z")

</div>

I’m looking for guidance on how to convert a Blueprint-only project in Unreal Engine 5 to a C++ project using the command line. Also, how can I compile the project afterward? I want to put these into a bat file. Any hel…

---

## [Map Check Commandlet](https://forums.unrealengine.com/t/map-check-commandlet/1729933)

<div class="topic-metadata">

**Author:** [@MichaelBoyle](https://forums.unrealengine.com/u/MichaelBoyle)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 5:15pm UTC](https://forums.unrealengine.com/t/map-check-commandlet/1729933 "2024-03-04T17:15:06Z")

</div>

Hey all, I was struggling to find a way to run Map Check as an automated process, so I’ve written a commandlet that works with a headless editor. Map Check Commandlet Hope that people find it useful. It’s a module that…

---

## [Is it possible to run multiple commandlets from one line?](https://forums.unrealengine.com/t/is-it-possible-to-run-multiple-commandlets-from-one-line/399716)

<div class="topic-metadata">

**Author:** [@Nitronoid](https://forums.unrealengine.com/u/Nitronoid)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 8:44am UTC](https://forums.unrealengine.com/t/is-it-possible-to-run-multiple-commandlets-from-one-line/399716 "2024-03-01T08:44:24Z")

</div>

I am wondering if it is possible to run multiple commandlets on a project from one line. Running a commandlet requires the UE4Editor-Cmd.exe to be loaded and so running many commandlets could be done more efficiently if …

---

## [Reimport assets from command line](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201)

<div class="topic-metadata">

**Author:** [@SyphK](https://forums.unrealengine.com/u/SyphK)\
**Replies:** 14\
**Last updated:** [October 3, 2023, 3:48pm UTC](https://forums.unrealengine.com/t/reimport-assets-from-command-line/370201 "2023-10-03T15:48:06Z")

</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…

---

## [GPU Lightmass runs out of memory while in commandlet](https://forums.unrealengine.com/t/gpu-lightmass-runs-out-of-memory-while-in-commandlet/1255223)

<div class="topic-metadata">

**Author:** [@ttrently\_fw](https://forums.unrealengine.com/u/ttrently_fw)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 3:20am UTC](https://forums.unrealengine.com/t/gpu-lightmass-runs-out-of-memory-while-in-commandlet/1255223 "2023-08-09T03:20:22Z")

</div>

Hi all, I’m working on getting GPU Lightmass running in a commandlet but some of our maps are causing it to run out of memory and crash. These same maps run fine and build while in Editor . During commandlet startup w…

---

## [Making a plugin commandlet](https://forums.unrealengine.com/t/making-a-plugin-commandlet/347697)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_598164a8](https://forums.unrealengine.com/u/anonymous_user_598164a8)\
**Replies:** 2\
**Last updated:** [June 14, 2023, 9:44am UTC](https://forums.unrealengine.com/t/making-a-plugin-commandlet/347697 "2023-06-14T09:44:26Z")

</div>

I’m trying to create a commandlet in a plugin, which seems to be possible according to this answer. \\ I’ve got a plugin which contains a UCommandlet derived class with a static main() However I can’t fire it off from t…

---

## [How to force memory free in 'Commandlet'](https://forums.unrealengine.com/t/how-to-force-memory-free-in-commandlet/1156766)

<div class="topic-metadata">

**Author:** [@Ayake](https://forums.unrealengine.com/u/Ayake)\
**Replies:** 0\
**Last updated:** [May 6, 2023, 5:06pm UTC](https://forums.unrealengine.com/t/how-to-force-memory-free-in-commandlet/1156766 "2023-05-06T17:06:34Z")

</div>

My project need use datasmith Commandlet import files.Now I’m having a problem where the memory fills when I import too many files. I’ve tried using GEngine-\>ForceGarbageCollection(true); GEngine-\>ConditionalCollectGar…

---

## [HLOD clusters need rebuilding when opening map after building HLODs via command line](https://forums.unrealengine.com/t/hlod-clusters-need-rebuilding-when-opening-map-after-building-hlods-via-command-line/485989)

<div class="topic-metadata">

**Author:** [@darrymanillow](https://forums.unrealengine.com/u/darrymanillow)\
**Replies:** 0\
**Last updated:** [July 9, 2021, 3:41pm UTC](https://forums.unrealengine.com/t/hlod-clusters-need-rebuilding-when-opening-map-after-building-hlods-via-command-line/485989 "2021-07-09T15:41:36Z")

</div>

I am trying to build HLODs and lighting using the ResavePackages command let. The light build part work perfectly however when I open the map I just built I get the message that ‘HLOD clusters need to be rebuilt’. Gener…

---

## [Is there any way to detect outside the editor if map needs lighting rebuild](https://forums.unrealengine.com/t/is-there-any-way-to-detect-outside-the-editor-if-map-needs-lighting-rebuild/464933)

<div class="topic-metadata">

**Author:** [@miko1a](https://forums.unrealengine.com/u/miko1a)\
**Replies:** 0\
**Last updated:** [May 9, 2020, 4:06pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-detect-outside-the-editor-if-map-needs-lighting-rebuild/464933 "2020-05-09T16:06:12Z")

</div>

Hey everyone, Is it possible to detect from command line if the lighting on the map is outdated so that I can run rebuild automatically? I’m thinking about running this check after commit to ensure light maps are alway…

---

## [Automating navigation/paths build](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790)

<div class="topic-metadata">

**Author:** [@Nevermore](https://forums.unrealengine.com/u/Nevermore)\
**Replies:** 4\
**Last updated:** [April 2, 2020, 8:17pm UTC](https://forums.unrealengine.com/t/automating-navigation-paths-build/395790 "2020-04-02T20:17:50Z")

</div>

Is there a way to rebuild navigation paths through command line similar to ResavePackages commandlet? It would be used for as part of automating the build process with Jenkins

---

## [Commandlet "looks like a commandlet"](https://forums.unrealengine.com/t/commandlet-looks-like-a-commandlet/372141)

<div class="topic-metadata">

**Author:** [@outtaspace](https://forums.unrealengine.com/u/outtaspace)\
**Replies:** 6\
**Last updated:** [August 2, 2019, 2:24pm UTC](https://forums.unrealengine.com/t/commandlet-looks-like-a-commandlet/372141 "2019-08-02T14:24:47Z")

</div>

I’m trying to run the commandlet located at GitHub - ue4plugins/CommandletPlugin: Unreal Engine 4 plug-in that demonstrates how to implement a commandlet.. To do this I copied it into my project as a new file however whe…

---

## [UWrangleContentCommandlet critical error](https://forums.unrealengine.com/t/uwranglecontentcommandlet-critical-error/401475)

<div class="topic-metadata">

**Author:** [@TriNityGER](https://forums.unrealengine.com/u/TriNityGER)\
**Replies:** 5\
**Last updated:** [December 6, 2018, 3:47pm UTC](https://forums.unrealengine.com/t/uwranglecontentcommandlet-critical-error/401475 "2018-12-06T15:47:47Z")

</div>

When I try to execute the UWrangleContentCommandlet via ue4editor-cmd.exe, it throws me this error: \[2017.08.10-15.18.01:228\]\[ 0\]LogContentCommandlet: Warning: \[2017.08.10-15.18.01:228\]\[ 0\]LogContentCommandlet: Warnin…

---

## [Auto Importing FBX via Commandlet](https://forums.unrealengine.com/t/auto-importing-fbx-via-commandlet/292719)

<div class="topic-metadata">

**Author:** [@blurdot](https://forums.unrealengine.com/u/blurdot)\
**Replies:** 18\
**Last updated:** [December 3, 2018, 4:03pm UTC](https://forums.unrealengine.com/t/auto-importing-fbx-via-commandlet/292719 "2018-12-03T16:03:35Z")

</div>

We are working on a commandlet that will check a folder for FBX and texture files and run an automated import on them. When manually importing a file, the Editor appears to use the functionality in UFbxFactory. I’m wond…

---

## [How to save .umap without UE4Editor?](https://forums.unrealengine.com/t/how-to-save-umap-without-ue4editor/437519)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_13b01b5d](https://forums.unrealengine.com/u/anonymous_user_13b01b5d)\
**Replies:** 0\
**Last updated:** [November 13, 2018, 2:53am UTC](https://forums.unrealengine.com/t/how-to-save-umap-without-ue4editor/437519 "2018-11-13T02:53:21Z")

</div>

I want to automate modifying levels, so I’m creating my commandlet. Its working is replacing Landscapes with heightmaps. I used UEditorLoadingAndSavingUtils, but it required “GEditor”. Can I save .umap without Editor? …

---

## [Detect if the game is running without graphics?](https://forums.unrealengine.com/t/detect-if-the-game-is-running-without-graphics/423524)

<div class="topic-metadata">

**Author:** [@Grug](https://forums.unrealengine.com/u/Grug)\
**Replies:** 1\
**Last updated:** [April 25, 2018, 10:46pm UTC](https://forums.unrealengine.com/t/detect-if-the-game-is-running-without-graphics/423524 "2018-04-25T22:46:13Z")

</div>

I have a graphics plugin that I want to avoid running when launching my game exe via commandline to use a commandlet, or as a server. Since this can happen whether the game is in standalone, editor, authority, or client…

---

## [Commandlet list with arguments](https://forums.unrealengine.com/t/commandlet-list-with-arguments/403893)

<div class="topic-metadata">

**Author:** [@Rosterbyte](https://forums.unrealengine.com/u/Rosterbyte)\
**Replies:** 1\
**Last updated:** [April 3, 2018, 2:21pm UTC](https://forums.unrealengine.com/t/commandlet-list-with-arguments/403893 "2018-04-03T14:21:08Z")

</div>

Hi, i often used the commandlet “-run=resavepackages”. It is very helpful for fix all assets. There is a list of all commandlet for unreal engine 4 with relative arguments?

---

## [Can't save plugin asset from commandlet](https://forums.unrealengine.com/t/cant-save-plugin-asset-from-commandlet/418759)

<div class="topic-metadata">

**Author:** [@lostwoods91](https://forums.unrealengine.com/u/lostwoods91)\
**Replies:** 1\
**Last updated:** [March 6, 2018, 5:17pm UTC](https://forums.unrealengine.com/t/cant-save-plugin-asset-from-commandlet/418759 "2018-03-06T17:17:03Z")

</div>

hi! i’m trying to save a plugin asset (saved into its content folder) using UEditorEngine::SavePackage from a commandlet, but i think there is a bug into UEditorEngine::IsPackageOKToSave. the asset into the plugin conte…

---

## [Writing commandlet output to stdout](https://forums.unrealengine.com/t/writing-commandlet-output-to-stdout/298273)

<div class="topic-metadata">

**Author:** [@twiddle](https://forums.unrealengine.com/u/twiddle)\
**Replies:** 1\
**Last updated:** [January 2, 2018, 8:31am UTC](https://forums.unrealengine.com/t/writing-commandlet-output-to-stdout/298273 "2018-01-02T08:31:53Z")

</div>

I’m implementing a commandlet that needs to send some output to stdout for a utility to consume (I’m investigating the use of textconv to enable simple diffing of assets in Git). I’m using FOutputDeviceStdOutput to prin…

---

## [Commandlet run successful but no uasset files created](https://forums.unrealengine.com/t/commandlet-run-successful-but-no-uasset-files-created/387884)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_91059d26](https://forums.unrealengine.com/u/anonymous_user_91059d26)\
**Replies:** 3\
**Last updated:** [June 6, 2017, 12:27pm UTC](https://forums.unrealengine.com/t/commandlet-run-successful-but-no-uasset-files-created/387884 "2017-06-06T12:27:58Z")

</div>

As I shown my command line script above, it shows me the successful message but NO .uasset files created in the destination folder. Everything else is good. Pretty confused about the problem. Anyone meet the same issue …

---

## [Access Violation in AssetDeleteModel.cpp when importing FBX file](https://forums.unrealengine.com/t/access-violation-in-assetdeletemodel-cpp-when-importing-fbx-file/384062)

<div class="topic-metadata">

**Author:** [@Softavi](https://forums.unrealengine.com/u/Softavi)\
**Replies:** 5\
**Last updated:** [February 23, 2017, 9:30pm UTC](https://forums.unrealengine.com/t/access-violation-in-assetdeletemodel-cpp-when-importing-fbx-file/384062 "2017-02-23T21:30:56Z")

</div>

Hi, I’m on UE4.14.3 and I’m getting an access violation error when using the ImportAssets commandlet to import a simple FBX file. This is the command I’m running: UE4Editor-Cmd.exe $UE\_PROJECTFILE -run=ImportAssets -Al…

---

## [Commandlet to import fbx using UE4Editor-Cmd.exe](https://forums.unrealengine.com/t/commandlet-to-import-fbx-using-ue4editor-cmd-exe/383721)

<div class="topic-metadata">

**Author:** [@panha](https://forums.unrealengine.com/u/panha)\
**Replies:** 1\
**Last updated:** [February 2, 2017, 5:50pm UTC](https://forums.unrealengine.com/t/commandlet-to-import-fbx-using-ue4editor-cmd-exe/383721 "2017-02-02T17:50:15Z")

</div>

I try to convert fbx file into uasset without gui(on cloud server). Follow this command: UE4Editor-Cmd.exe filepath.uproject -run=ImportAssets -source=filepath.fbx -dest=assetpath -importsettings="" From : \[UE4 conver…

---

## [4.13.2 - ResavePackagesCommandlet Null Material Function Inputs and Outputs](https://forums.unrealengine.com/t/4-13-2-resavepackagescommandlet-null-material-function-inputs-and-outputs/380815)

<div class="topic-metadata">

**Author:** [@Answers.Archive](https://forums.unrealengine.com/u/Answers.Archive)\
**Replies:** 4\
**Last updated:** [January 3, 2017, 9:47pm UTC](https://forums.unrealengine.com/t/4-13-2-resavepackagescommandlet-null-material-function-inputs-and-outputs/380815 "2017-01-03T21:47:29Z")

</div>

I have been trying to resolve null exception crash occurring when baking a level via the ResavePackagesCommandlet. I am executing the commandlet with the -map and -buildlighting params. The exception occurs in UMateria…

---

## [PkgInfo not working](https://forums.unrealengine.com/t/pkginfo-not-working/375674)

<div class="topic-metadata">

**Author:** [@NullBlack](https://forums.unrealengine.com/u/NullBlack)\
**Replies:** 12\
**Last updated:** [November 29, 2016, 5:43pm UTC](https://forums.unrealengine.com/t/pkginfo-not-working/375674 "2016-11-29T17:43:31Z")

</div>

Trying to look into the package for my project to find out why it’s a gig, but I can’t get PkgInfoCommandlet to work. Every project, including an empty one (no templates or other content), gives the same warnings and fai…

---

## [GatherText grabbing editor data](https://forums.unrealengine.com/t/gathertext-grabbing-editor-data/340907)

<div class="topic-metadata">

**Author:** [@Ben.Driehuis](https://forums.unrealengine.com/u/Ben.Driehuis)\
**Replies:** 5\
**Last updated:** [August 10, 2016, 2:31pm UTC](https://forums.unrealengine.com/t/gathertext-grabbing-editor-data/340907 "2016-08-10T14:31:10Z")

</div>

Hi there, It seems that with the new method of storing the localization data in assets as per the GatherLocalizationDataFromPropertiesOfDataStructure, that the localization process now adds in a lot of editor things lik…

---

## [Have Cook Commandlet output go to stdout?](https://forums.unrealengine.com/t/have-cook-commandlet-output-go-to-stdout/334108)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2f0c4948](https://forums.unrealengine.com/u/anonymous_user_2f0c4948)\
**Replies:** 1\
**Last updated:** [January 20, 2016, 12:56am UTC](https://forums.unrealengine.com/t/have-cook-commandlet-output-go-to-stdout/334108 "2016-01-20T00:56:44Z")

</div>

We are currently experimenting with using the cook commandlet to cook assets on our build system. The commandlet is run from a CMD shell on Windows but right after starting it does open its own console window where it d…

---

## [Where is the AnalyzeReferencedContent commandlet in UE4?](https://forums.unrealengine.com/t/where-is-the-analyzereferencedcontent-commandlet-in-ue4/320628)

<div class="topic-metadata">

**Author:** [@cnnaji](https://forums.unrealengine.com/u/cnnaji)\
**Replies:** 0\
**Last updated:** [June 3, 2015, 6:19pm UTC](https://forums.unrealengine.com/t/where-is-the-analyzereferencedcontent-commandlet-in-ue4/320628 "2015-06-03T18:19:19Z")

</div>

In UE3, there was a commandlet called AnalyzeReferencedContentCommandlet. Where is that located for UE4? Al I’ve found so far is a header called AnalyzeRefencedContentStat.h wilth no implementation.

---

## [DiffAssets CommandLet](https://forums.unrealengine.com/t/diffassets-commandlet/311514)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_373a90d1](https://forums.unrealengine.com/u/anonymous_user_373a90d1)\
**Replies:** 0\
**Last updated:** [March 18, 2015, 10:05am UTC](https://forums.unrealengine.com/t/diffassets-commandlet/311514 "2015-03-18T10:05:28Z")

</div>

What is the correct way to invoke the DiffAssets CommandLet? I saw this page, but if I invoke it as described all I get is a DOS box with some yellow and red text and then immediately closing, without allowing me to read…
