Description

Dumping of world partitioned HLOD stats in commandlets no longer works since updating to Unreal 5.5. The cause seems to be that the functionality has been moved from UWorldPartitionHLODRuntimeSubsystem to UWorldPartitionHLODEditorSubsystem, and the latter is deactivated when running commandlets (see UWorldPartitionHLODEditorSubsystem::DoesSupportWorldType).

Steps to Reproduce

Steps to Reproduce

Run this command line:

 

Engine\Binaries\Win64\UnrealEditor-Cmd.exe <path_to_uproject> -run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder <map_name> -SetupHLODs -DumpStats -AllowCommandletRendering

 

Notice commandlet failure in the log

Callstack

LogOutputDevice: Error: === Handled ensure: ===

LogOutputDevice: Error:

LogOutputDevice: Error: Ensure condition failed: HLODEditorSubsystem [Link Removed] [Line: 528]

LogOutputDevice: Error:

LogOutputDevice: Error: Stack:

LogOutputDevice: Error: [Callstack] 0x0000020d50394627 UnrealEditor-WorldPartitionEditor.dll!FWorldPartitionEditorModule::WriteHLODStats() [Engine\Source\Editor\WorldPartitionEditor\Private\WorldPartitionEditorModule.cpp:528]

LogOutputDevice: Error: [Callstack] 0x00007ff801695297 UnrealEditor-UnrealEd.dll!UWorldPartitionHLODsBuilder::DumpStats() [Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionHLODsBuilder.cpp:584]

LogOutputDevice: Error: [Callstack] 0x00007ff8016b68cf UnrealEditor-UnrealEd.dll!UWorldPartitionHLODsBuilder::RunInternal() [Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionHLODsBuilder.cpp:239]

LogOutputDevice: Error: [Callstack] 0x00007ff8016b3da3 UnrealEditor-UnrealEd.dll!UWorldPartitionBuilder::Run() [Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionBuilder.cpp:290]

LogOutputDevice: Error: [Callstack] 0x00007ff8016b59cc UnrealEditor-UnrealEd.dll!UWorldPartitionBuilder::RunBuilder() [Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionBuilder.cpp:123]

LogOutputDevice: Error: [Callstack] 0x00007ff8004ed82c UnrealEditor-UnrealEd.dll!UWorldPartitionBuilderCommandlet::RunBuilder() [Engine\Source\Editor\UnrealEd\Private\Commandlets\WorldPartitionBuilderCommandlet.cpp:259]

LogOutputDevice: Error: [Callstack] 0x00007ff8004d822b UnrealEditor-UnrealEd.dll!UWorldPartitionBuilderCommandlet::Main() [Engine\Source\Editor\UnrealEd\Private\Commandlets\WorldPartitionBuilderCommandlet.cpp:138]

LogOutputDevice: Error: [Callstack] 0x00007ff634ffefbe UnrealEditor-Cmd.exe!FEngineLoop::PreInitPostStartupScreen() [Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4150]

LogOutputDevice: Error: [Callstack] 0x00007ff634ff59d6 UnrealEditor-Cmd.exe!GuardedMain() [Engine\Source\Runtime\Launch\Private\Launch.cpp:144]

LogOutputDevice: Error: [Callstack] 0x00007ff634ff5d0a UnrealEditor-Cmd.exe!GuardedMainWrapper() [Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:123]

LogOutputDevice: Error: [Callstack] 0x00007ff634ff9584 UnrealEditor-Cmd.exe!LaunchWindowsStartup() [Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:277]

LogOutputDevice: Error: [Callstack] 0x00007ff63500bfc4 UnrealEditor-Cmd.exe!WinMain() [Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:317]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-240276 in the post.

1
Login to Vote

Fixed
Fix Commit39552436
CreatedJan 27, 2025
ResolvedJan 29, 2025
UpdatedFeb 5, 2025
View Jira Issue