New UE5 dev here, I’m tooling around with utilizing ArcGIS data to create my landscape. I’ve downloaded the raster file and put it through Terrescape and generated an 8192x8192 16-bit PNG file.
However, when I go to import this file into UE5, the engine just hangs and crashes, every time.
This is happening with a blank project both before and after I’ve deleted the pre-generated landscape layer.
I have a 3080 Ti and 16GB of RAM. I’ve tried closing out everything except UE5 and Spotify. I’ve monitored my system resources and my RAM doesn’t even cap out before the engine just flops.
I can’t find any recent threads complaining about this, so I don’t know if I’m the only one importing large heightmaps (yeah right) or if I’m doing something wrong here.
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 771] Array index out of bounds: -783796049 from an array of size 2123402608
UnrealEditor_LandscapeEditor
UnrealEditor_LandscapeEditor
UnrealEditor_LandscapeEditor
UnrealEditor_LandscapeEditor
UnrealEditor_LandscapeEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_PropertyEditor
UnrealEditor_LandscapeEditor
UnrealEditor_LandscapeEditor
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
It seems like you’re encountering a technical issue when importing large heightmap files into UE5. The error message you provided indicates an array index out of bounds error. This could be due to various factors, such as the file size or format, system resources, or a bug in the engine.
I may have figured it out?
The file that I was using was directly downloaded from the USGS website, and therefore had coordinate data in the file name.
I originally thought maybe it was that I still didnt have enough system resources despite my specs, as I had no problem importing a 6k version of the same heightmap. This turned out not to be the case.
My original heightmap filename was USGS_one_meter_x22y313_NV_North_Corridor_B4_2019.
I noticed that when I was importing this file, that the Engine was asking if I wanted to import file USGS_one_meter_x<x>y<y>_NV_North_Corridor_B4_2019.
It seems that Unreal is trying to parse variables out of the file name, and running into an error while doing so. This is also why my 6k heightmap worked, since I had whimsically renamed it to USGS_one_meter_NV_North_Corridor_B4_6k, no coordinate data.
After renaming my 8k file, it imported in just a few seconds into Unreal.
So my problem is solved, but the question stands on whether this is intended functionality or a bug in how files are read from the system.