# World partition HLOD build map name

**URL:** <https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, WorldPartition\
**Created:** [May 29, 2021, 4:42pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215 "2021-05-29T16:42:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![xhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xhn](https://forums.unrealengine.com/u/xhn)\
**Post date:** [May 29, 2021, 4:42pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/1 "2021-05-29T16:42:04Z")

</div>

I trying this commandlet

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/1/415953e31e00e8adc803f2b2e6c1e4b803b83fa7.png)  
But I can’t find the right form for the map name

---

<div class="post-metadata">

**Author:** ![Reboot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reboot](https://forums.unrealengine.com/u/Reboot)\
**Post date:** [May 29, 2021, 10:27pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/2 "2021-05-29T22:27:42Z")

</div>

The only way i could get it to work is by moving my project folder inside the folder where the editor was installed.

it now go forward but no HLOD are baked… so it might be bugged if someone managed to bake HLOd would be nice to hear about the process.

---

<div class="post-metadata">

**Author:** ![xhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xhn](https://forums.unrealengine.com/u/xhn)\
**Post date:** [May 29, 2021, 11:29pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/3 "2021-05-29T23:29:00Z")

</div>

how map argument look like?

---

<div class="post-metadata">

**Author:** ![xhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xhn](https://forums.unrealengine.com/u/xhn)\
**Post date:** [June 2, 2021, 1:07pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/4 "2021-06-02T13:07:14Z")

</div>

I try “E:\unrealEngine\UE\_5.0EA\Engine\Binaries\Win64\UnrealEditor.exe” “C:\p4\Mag” “World’/Game/Maps/cityMap.cityMap’” -run=WorldPartitionBuilderCommandlet -AllowCommandletRendering -Builder=WorldPartitionHLODsBuilder  
And I got this error

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/9/295c7341c266cbec8cb42585aec7a2e272ca9faf.png)

---

<div class="post-metadata">

**Author:** ![SiggiG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SiggiG](https://forums.unrealengine.com/u/SiggiG)\
**Post date:** [July 22, 2021, 7:29pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/5 "2021-07-22T19:29:39Z")

</div>

I too have not been able to get this to work. The CommandLine silently exits, even when provided with a -Verbose switch.

I’ve tried all kinds of combinations of full paths, with abd without .uproject and .umaps extensions. If the first parameter is anything but an absolute path to the .uproject file it will show you a log and give you an error… but once you provide that correctly no log at all is shown?

---

<div class="post-metadata">

**Author:** ![ZioYuri78](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zioyuri78/32/1194615_2.png) [@ZioYuri78](https://forums.unrealengine.com/u/ZioYuri78)\
**Post date:** [July 23, 2021, 8:28am UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/6 "2021-07-23T08:28:13Z")

</div>

You don’t need to write the map path, you only need the map name with .umap extension, like this

> E:\Gamedev\UnrealEngine\UE\_5.0EA\Engine\Binaries\Win64\UnrealEditor.exe E:\Gamedev\UnrealEngine\Projects\UE5\WorldPartitionCity\WorldPartitionCity.uproject Demonstration\_WP.umap -run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder -AllowCommandletRendering -log=HLOD\_log.txt

To speedup the process i have a batch file inside project folder like this:

> @anonymous_user_add01a93 off  
> set UED=E:\Gamedev\UnrealEngine\UE\_5.0EA\Engine\Binaries\Win64  
> set MAP=%1
> 
> %UED%\UnrealEditor.exe %CD%\WorldPartitionCity.uproject %MAP% -run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder -AllowCommandletRendering -log=HLOD\_log.txt

Where:

- UED is a variable with the editor executable path
- MAP is the parameter you pass to the batch file so the .umap map name
- %CD% expand to the current folder so the project folder
- -log=HLOD\_log.txt save a log file under the \Saved\Logs folder

let’s say your batch file name is wpHLODcommandlet.bat and the map name is Demonstration\_WP (like in my example) now i only have to run the batch with the map name as parameter, like this:

> wpHLODcommandlet.bat Demonstration\_WP.umap

---

<div class="post-metadata">

**Author:** ![SiggiG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SiggiG](https://forums.unrealengine.com/u/SiggiG)\
**Post date:** [July 23, 2021, 12:04pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/7 "2021-07-23T12:04:57Z")

</div>

Thanks for the reply. Does this work for you on the current EAP Preview 2? I just tried building UE5 Main branch from source and everything worked for me there on first try.

Edit: The “-log=HLOD\_log.txt” part was very helpful 🙂 With that I discovered the wrong editor binary was actually running which cause the tool not to work as expected.

```auto

```

---

<div class="post-metadata">

**Author:** ![SiggiG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SiggiG](https://forums.unrealengine.com/u/SiggiG)\
**Post date:** [July 23, 2021, 2:10pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/8 "2021-07-23T14:10:07Z")

</div>

Update: Got it working just fine 🙂 it was a typical “stupid me” mistake where I was building a Debug editor build and then the commandline was running an ancient Development binary.

For anyone finding this thread, the commandline listed above from ZioYuri78 above works just fine 🙂

---

<div class="post-metadata">

**Author:** ![liyangyang0901](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liyangyang0901](https://forums.unrealengine.com/u/liyangyang0901)\
**Post date:** [June 21, 2022, 2:36pm UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/9 "2022-06-21T14:36:12Z")

</div>

The words `YourProject` and `YourMap` is quite confusing. Full path or relative path? with or without file extension? There should be some examples in the documentation.

---

<div class="post-metadata">

**Author:** ![jason\_michael](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jason\_michael](https://forums.unrealengine.com/u/jason_michael)\
**Post date:** [December 21, 2022, 11:52am UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/10 "2022-12-21T11:52:25Z")

</div>

In my case, the console shows “Missing World Name” , I dont konw whats going on.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/7/017d8e53836166190b907ccad01908ccd7811f15.png)

---

<div class="post-metadata">

**Author:** ![jason\_michael](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jason\_michael](https://forums.unrealengine.com/u/jason_michael)\
**Post date:** [December 28, 2022, 3:09am UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/11 "2022-12-28T03:09:57Z")

</div>

Problem solved. Just put the “mapname” parameter in the last position.  
[https://www.youtube.com/watch?v=Wyi9BwF3A74&list=LL&index=6&t=376s](https://www.youtube.com/watch?v=Wyi9BwF3A74&list=LL&index=6&t=376s)  
at 7:00

---

<div class="post-metadata">

**Author:** ![TangZheng636](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TangZheng636](https://forums.unrealengine.com/u/TangZheng636)\
**Post date:** [May 14, 2025, 9:32am UTC](https://forums.unrealengine.com/t/world-partition-hlod-build-map-name/232215/12 "2025-05-14T09:32:41Z")

</div>

没错，这种是对的，在windows上用绝对路径。我不知道为什么官方给的例子用的是相对路径
