Description

The heightmap and weightmaps were created using Terresculptor, and exported in the correct format. If you import everything except the layermaps, the landscape is generated and the layers can be painted on. But if you select the layer maps and then import the engine crashes.

Attached is a project with this setup as well as the needed files.

This was reported and tested in 4.24.3 (CL-11590370). This was reproduced in 4.23.1 (CL-9631420), 4.25 Preview 2 (CL-12055273), and Main 4.26 (CL-12063615)

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project with Starter Content
  2. Create a Material based off the screenshot provided
  3. Open the Landscape tool and select "Import from File"
  4. For the Heightmap select the Map.png file
  5. Add the Material you made to the Landscape and add Weighted-blend layers for Grass, Dirt, and Stone
  6. Add the respective layer map for Grass, Dirt, and Stone
  7. Click Import

Results: The Editor crashes

Expected: The landscape is generated

Callstack
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: === Critical error: ===
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: 
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 614] 
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: Array index out of bounds: 1049488 from an array of size 1048576
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: 
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: 
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff9d81c9159 KERNELBASE.dll!UnknownFunction []
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff95d62a7b6 UE4Editor-Core.dll!ReportAssert() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:1341]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff95d62dc58 UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4\sync\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:79]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff95d3e2c7d UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff95d36fd43 UE4Editor-Core.dll!AssertFailedImplV() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:105]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff95d3720c0 UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:455]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96562b088 UE4Editor-Landscape.dll!DispatchCheckVerify<void,<lambda_7af30e359a65048da2472ae75f5f5fa4> >() [d:\build\++ue4\sync\engine\source\runtime\core\public\misc\assertionmacros.h:168]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96545f6ec UE4Editor-Landscape.dll!ALandscapeProxy::Import() [d:\build\++ue4\sync\engine\source\runtime\landscape\private\landscapeedit.cpp:2378]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff9441cdff5 UE4Editor-LandscapeEditor.dll!FLandscapeEditorDetailCustomization_NewLandscape::OnCreateButtonClicked() [d:\build\++ue4\sync\engine\source\editor\landscapeeditor\private\landscapeeditordetailcustomization_newlandscape.cpp:843]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff944189bd4 UE4Editor-LandscapeEditor.dll!TBaseSPMethodDelegateInstance<0,FLandscapeEditorDetailCustomization_NewLandscape,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:293]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96b841498 UE4Editor-Slate.dll!SButton::ExecuteOnClick() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:385]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96b859281 UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:304]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96b6b323f UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_6c1f6b862bcfb82ea6dcab28fbcc9463> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:372]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96b739175 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4617]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96b72413e UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5140]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff96b718f67 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5108]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff9b00b4ca1 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1958]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff9b00a242f UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2410]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff9b00b7195 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1638]
[2020.03.12-13.14.21:814][ 42]LogWindows: Error: [Callstack] 0x00007ff9b009ec40 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:789]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff9da377446 USER32.dll!UnknownFunction []
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff9da376f62 USER32.dll!UnknownFunction []
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff9b00b8699 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff7e2a36db0 UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4397]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff7e2a4c3ec UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:173]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff7e2a4c4ca UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff7e2a5ceae UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:263]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff7e2a5fcbe UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff9dbae7974 KERNEL32.DLL!UnknownFunction []
[2020.03.12-13.14.21:815][ 42]LogWindows: Error: [Callstack] 0x00007ff9dbd5a261 ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.23.14.24.34.254.26
Target Fix4.25
Fix Commit12149012
Main Commit12149023
Release Commit12149012
CreatedMar 12, 2020
ResolvedMar 12, 2020
UpdatedJul 30, 2020
View Jira Issue