Macos: [HLOD] LogWorldPartitionEditor: Error: #### Commandlet Failed ####

Engine: UE5.3
M1 Mac → 13.4.1

When trying to regenerate HLODs in a brand new World Partitioned projects using tools -> Build HLODs the commandlet fails with:

LogWorldPartitionEditor: Display: Running commandlet: -BaseDir=  -Unattended -RunningFromUnrealEd -AbsLog=  -run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder -SetupHLODs -BuildH
LODs -AllowCommandletRendering
LogWorldPartitionEditor: Error: #### Commandlet Failed ####
LogWorldPartitionEditor: Error: /Users/Shared/Epic Games/UE_5.3/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor   -Unattended -RunningFromUnrealEd -AbsLog=  -run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder -SetupHLODs -BuildHLODs -AllowCommandletR
endering
LogWorldPartitionEditor: Error: Return Code: 1
LogWorldPartitionEditor: Error: #### BEGIN COMMANDLET OUTPUT (from ) ####
LogWorldPartitionEditor: Error: #### END COMMANDLET OUTPUT ####
Cmd: MAP LOAD FILE= TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3

File paths removed.

Had the same issue when I first install the Unreal Engine on macOS.

Rule of thumb : When working with Unreal on macOS do not use spaces in any paths.

Simply remove/install/re-install the latest Unreal Engine 5.3.x.
Make sure your default folder install path has no spaces in it.
image

Word of advice, do the same for you project location and project names, do not use any spaces in these. This will save you more headaches.

I believe some of the Unreal scripts are not properly escaping paths and these are being truncated.

4 Likes