UE5 generation HLOD for World Patrtition broken

Hello,

when I try to build HLOD for my world partition landscape, it crasses with an
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
Assertion failed: ArrayNum >= 0 [File:G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Core\Public\Containers\ArrayView.h] [Line: 192]

At the first cell. I’m running Source Build UE5.0, anyone else with the same issue? And probably a solution?

[2022.05.03-07.34.02:449][  0]LogWorldPartitionHLODsBuilder: Display: #### World contains 33 HLOD actors ####
[2022.05.03-07.34.02:449][  0]LogWorldPartitionHLODsBuilder: Display: #### Building 33 HLOD actors ####
[2022.05.03-07.34.02:460][  0]LogWorldPartitionHLODsBuilder: Display: [1 / 33] Building HLOD actor HLOD0_GoingIn_MainGrid_L4_X0_Y0_DL0...
[2022.05.03-07.34.04:104][  0]LogWindows: Error: === Critical error: ===
[2022.05.03-07.34.04:104][  0]LogWindows: Error: 
[2022.05.03-07.34.04:104][  0]LogWindows: Error: Assertion failed: ArrayNum >= 0 [File:G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Core\Public\Containers\ArrayView.h] [Line: 192] 
[2022.05.03-07.34.04:104][  0]LogWindows: Error: 
[2022.05.03-07.34.04:104][  0]LogWindows: Error: 
[2022.05.03-07.34.04:104][  0]LogWindows: Error: 
[2022.05.03-07.34.04:104][  0]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2022.05.03-07.34.04:104][  0]LogWindows: Error: 
[2022.05.03-07.34.04:104][  0]LogWindows: Error: [Callstack] 0x00007ffd4a59eccc UnrealEditor-Core.dll!_mi_heap_malloc_zero() [G:\UnrealEngine-5.0.0-release\Engine\Source\ThirdParty\mimalloc\src\alloc.c:147]
[2022.05.03-07.34.04:105][  0]LogWindows: Error: [Callstack] 0x00007ffd4a5a623b UnrealEditor-Core.dll!mi_heap_malloc_zero_aligned_at() [G:\UnrealEngine-5.0.0-release\Engine\Source\ThirdParty\mimalloc\src\alloc-aligned.c:47]
[2022.05.03-07.34.04:105][  0]LogWindows: Error: [Callstack] 0x00007ffd4a5a9b1e UnrealEditor-Core.dll!mi_realloc_aligned() [G:\UnrealEngine-5.0.0-release\Engine\Source\ThirdParty\mimalloc\src\alloc-aligned.c:187]
[2022.05.03-07.34.04:105][  0]LogWindows: Error: [Callstack] 0x00007ffd4a006867 UnrealEditor-Core.dll!FMallocMimalloc::Realloc() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Core\Private\HAL\MallocMimalloc.cpp:129]
[2022.05.03-07.34.04:105][  0]LogWindows: Error: [Callstack] 0x00007ffd4a006c23 UnrealEditor-Core.dll!FMemory::Realloc() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl:56]
[2022.05.03-07.34.04:106][  0]LogWindows: Error: [Callstack] 0x00007ffd4492a3ea UnrealEditor-Landscape.dll!TArray<unsigned char,TSizedDefaultAllocator<32> >::ResizeGrow() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Core\Public\Containers\Array.h:2782]
[2022.05.03-07.34.04:106][  0]LogWindows: Error: [Callstack] 0x00007ffd449b2e8e UnrealEditor-Landscape.dll!ULandscapeComponent::ComputeLayerHash() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Landscape\Private\LandscapeEditLayers.cpp:8773]
[2022.05.03-07.34.04:106][  0]LogWindows: Error: [Callstack] 0x00007ffd44a5b106 UnrealEditor-Landscape.dll!ULandscapeHLODBuilder::ComputeHLODHash() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Landscape\Private\LandscapeHLODBuilder.cpp:76]
[2022.05.03-07.34.04:106][  0]LogWindows: Error: [Callstack] 0x00007ffd4734b770 UnrealEditor-Engine.dll!UHLODBuilder::ComputeHLODHash() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Engine\Private\WorldPartition\HLOD\HLODBuilder.cpp:127]
[2022.05.03-07.34.04:107][  0]LogWindows: Error: [Callstack] 0x00007ffcff62b7b3 UnrealEditor-WorldPartitionHLODUtilities.dll!ComputeHLODHash() [G:\UnrealEngine-5.0.0-release\Engine\Plugins\Editor\WorldPartitionHLODUtilities\Source\Private\WorldPartitionHLODUtilities.cpp:94]
[2022.05.03-07.34.04:107][  0]LogWindows: Error: [Callstack] 0x00007ffcff62affe UnrealEditor-WorldPartitionHLODUtilities.dll!FWorldPartitionHLODUtilities::BuildHLOD() [G:\UnrealEngine-5.0.0-release\Engine\Plugins\Editor\WorldPartitionHLODUtilities\Source\Private\WorldPartitionHLODUtilities.cpp:351]
[2022.05.03-07.34.04:107][  0]LogWindows: Error: [Callstack] 0x00007ffd47348151 UnrealEditor-Engine.dll!AWorldPartitionHLOD::BuildHLOD() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Engine\Private\WorldPartition\HLOD\HLODActor.cpp:198]
[2022.05.03-07.34.04:107][  0]LogWindows: Error: [Callstack] 0x00007ffd431166bc UnrealEditor-UnrealEd.dll!UWorldPartitionHLODsBuilder::BuildHLODActors() [G:\UnrealEngine-5.0.0-release\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionHLODsBuilder.cpp:479]
[2022.05.03-07.34.04:108][  0]LogWindows: Error: [Callstack] 0x00007ffd43145a16 UnrealEditor-UnrealEd.dll!UWorldPartitionHLODsBuilder::RunInternal() [G:\UnrealEngine-5.0.0-release\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionHLODsBuilder.cpp:305]
[2022.05.03-07.34.04:164][  0]LogWindows: Error: [Callstack] 0x00007ffd43144324 UnrealEditor-UnrealEd.dll!UWorldPartitionBuilder::Run() [G:\UnrealEngine-5.0.0-release\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionBuilder.cpp:277]
[2022.05.03-07.34.04:164][  0]LogWindows: Error: [Callstack] 0x00007ffd431451c8 UnrealEditor-UnrealEd.dll!UWorldPartitionBuilder::RunBuilder() [G:\UnrealEngine-5.0.0-release\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionBuilder.cpp:87]
[2022.05.03-07.34.04:164][  0]LogWindows: Error: [Callstack] 0x00007ffd424b6f2e UnrealEditor-UnrealEd.dll!UWorldPartitionBuilderCommandlet::Main() [G:\UnrealEngine-5.0.0-release\Engine\Source\Editor\UnrealEd\Private\Commandlets\WorldPartitionBuilderCommandlet.cpp:101]
[2022.05.03-07.34.04:165][  0]LogWindows: Error: [Callstack] 0x00007ff62ae6948e UnrealEditor.exe!FEngineLoop::PreInitPostStartupScreen() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3659]
[2022.05.03-07.34.04:165][  0]LogWindows: Error: [Callstack] 0x00007ff62ae60bbd UnrealEditor.exe!GuardedMain() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Launch\Private\Launch.cpp:137]
[2022.05.03-07.34.04:165][  0]LogWindows: Error: [Callstack] 0x00007ff62ae60e8a UnrealEditor.exe!GuardedMainWrapper() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
[2022.05.03-07.34.04:165][  0]LogWindows: Error: [Callstack] 0x00007ff62ae63c4d UnrealEditor.exe!LaunchWindowsStartup() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
[2022.05.03-07.34.04:166][  0]LogWindows: Error: [Callstack] 0x00007ff62ae75534 UnrealEditor.exe!WinMain() [G:\UnrealEngine-5.0.0-release\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
[2022.05.03-07.34.04:166][  0]LogWindows: Error: [Callstack] 0x00007ff62ae786e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2022.05.03-07.34.04:166][  0]LogWindows: Error: [Callstack] 0x00007ffdd64154e0 KERNEL32.DLL!UnknownFunction []
[2022.05.03-07.34.04:166][  0]LogWindows: Error: [Callstack] 0x00007ffdd73e485b ntdll.dll!UnknownFunction []
[2022.05.03-07.34.04:166][  0]LogWindows: Error: 

I have the same issue.
In my case, the Assertion failed is not printed, but the same error occurs.
It crashes in the same place every time.

I’m running UE5.0.1 launcher version.

[2022.05.04-16.34.44:625][  0]LogWindows: Error: === Critical error: ===
[2022.05.04-16.34.44:625][  0]LogWindows: Error: 
[2022.05.04-16.34.44:625][  0]LogWindows: Error: Fatal error!
[2022.05.04-16.34.44:625][  0]LogWindows: Error: 
[2022.05.04-16.34.44:625][  0]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2022.05.04-16.34.44:625][  0]LogWindows: Error: 
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91c82d82c UnrealEditor-Core.dll!_mi_heap_malloc_zero() [D:\build\++UE5\Sync\Engine\Source\ThirdParty\mimalloc\src\alloc.c:147]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91c834d9b UnrealEditor-Core.dll!mi_heap_malloc_zero_aligned_at() [D:\build\++UE5\Sync\Engine\Source\ThirdParty\mimalloc\src\alloc-aligned.c:47]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91c83867e UnrealEditor-Core.dll!mi_realloc_aligned() [D:\build\++UE5\Sync\Engine\Source\ThirdParty\mimalloc\src\alloc-aligned.c:187]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91c28e617 UnrealEditor-Core.dll!FMallocMimalloc::Realloc() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\MallocMimalloc.cpp:129]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91c28e9d3 UnrealEditor-Core.dll!FMemory::Realloc() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl:56]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91404a3ea UnrealEditor-Landscape.dll!TArray<unsigned char,TSizedDefaultAllocator<32> >::ResizeGrow() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h:2782]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff9140d2e8e UnrealEditor-Landscape.dll!ULandscapeComponent::ComputeLayerHash() [D:\build\++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeEditLayers.cpp:8773]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff91417b106 UnrealEditor-Landscape.dll!ULandscapeHLODBuilder::ComputeHLODHash() [D:\build\++UE5\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeHLODBuilder.cpp:76]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff919f37770 UnrealEditor-Engine.dll!UHLODBuilder::ComputeHLODHash() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\WorldPartition\HLOD\HLODBuilder.cpp:127]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff8f37ab7b3 UnrealEditor-WorldPartitionHLODUtilities.dll!ComputeHLODHash() [D:\build\++UE5\Sync\Engine\Plugins\Editor\WorldPartitionHLODUtilities\Source\Private\WorldPartitionHLODUtilities.cpp:94]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff8f37aaffe UnrealEditor-WorldPartitionHLODUtilities.dll!FWorldPartitionHLODUtilities::BuildHLOD() [D:\build\++UE5\Sync\Engine\Plugins\Editor\WorldPartitionHLODUtilities\Source\Private\WorldPartitionHLODUtilities.cpp:351]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff919ec54e1 UnrealEditor-Engine.dll!AWorldPartitionHLOD::BuildHLOD() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\WorldPartition\HLOD\HLODActor.cpp:198]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff915e4b74c UnrealEditor-UnrealEd.dll!UWorldPartitionHLODsBuilder::BuildHLODActors() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionHLODsBuilder.cpp:479]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff915e850a6 UnrealEditor-UnrealEd.dll!UWorldPartitionHLODsBuilder::RunInternal() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionHLODsBuilder.cpp:305]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff915e839b4 UnrealEditor-UnrealEd.dll!UWorldPartitionBuilder::Run() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionBuilder.cpp:277]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff915e84858 UnrealEditor-UnrealEd.dll!UWorldPartitionBuilder::RunBuilder() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\WorldPartition\WorldPartitionBuilder.cpp:87]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff9151f1c0e UnrealEditor-UnrealEd.dll!UWorldPartitionBuilderCommandlet::Main() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\Commandlets\WorldPartitionBuilderCommandlet.cpp:101]
[2022.05.04-16.34.44:625][  0]LogWindows: Error: [Callstack] 0x00007ff657e2948e UnrealEditor.exe!FEngineLoop::PreInitPostStartupScreen() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3659]
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff657e20bbd UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:137]
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff657e20e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff657e23c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff657e35534 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff657e386e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff9a7fd7034 KERNEL32.DLL!UnknownFunction []
[2022.05.04-16.34.44:626][  0]LogWindows: Error: [Callstack] 0x00007ff9a8902651 ntdll.dll!UnknownFunction []
[2022.05.04-16.34.44:626][  0]LogWindows: Error: 

Same issue here, I need this fix to continue the project

@BBrukSS @PolygonArt_WEN
Is this a bug?

hey whats you command your running? i had troubles with the one on the unreal page
I got it to run with this but its still got problems.

.\UnrealEditor-Cmd.exe “C:\Users\sketc\Documents\Unreal Projects\CharacterController\CharacterController.uproject” TestWorld2 -run=WorldPartitionBuilderCommandlet -AllowCommandletRendering -Builder=WorldPartitionHLODsBuilder -SetupHLODS

I am running the following.
Menu “Build” → “BuildHLODs”

“Build HLODs” will execute the following commands.
UnrealEditor.exe "[uproject path]" [level] -run=WorldPartitionBuilderCommandlet -Builder=WorldPartitionHLODsBuilder -SetupHLODs -BuildHLODs -AllowCommandletRendering -unattended

Hi. I have the same issue. Trying to load a big C4D scene with a lot of polygons into UE 5.0.1
Also can’t load an FBX file bigger than 2GB.
Both times the same error.

Thanks!

Assertion failed: ArrayNum >= 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\ArrayView.h] [Line: 192]

UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

Someone fix it?