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
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
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]
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
How to implement springarm components to scale according to mouse position in spawn?
What controls of umg have mouse wheel events in UE4.27?
How to use the.usf file in the ue4 engine Shader in the material?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-240276 in the post.
1 |
Component | UE - World Creation - Worldbuilding Tools - HLOD |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Fix Commit | 39552436 |
---|
Created | Jan 27, 2025 |
---|---|
Resolved | Jan 29, 2025 |
Updated | Feb 5, 2025 |