Description

REGRESSION
Yes, does not occur in 4.15.

Editor crashes when the user adds a component to their landscape.

Steps to Reproduce
  1. Open QAGame in editor.
  2. In the Modes panel, select the Landscape tab.
  3. Click Create.
  4. Select Manage.
  5. Select the Add tool.
  6. Add a Component to the end of your landscape.

RESULT

Crash.

Callstack
Assertion failed: LayerInfo [File:D:\Main\Engine\Source\Runtime\Landscape\Private\LandscapeEditInterface.cpp] [Line: 1708] 

KERNELBASE.dll!0x00000000FD33A06D
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize() [d:\main\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:120]
UE4Editor-Core.dll!FOutputDevice::Logf__VA() [d:\main\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
UE4Editor-Core.dll!FDebug::AssertFailed() [d:\main\engine\source\runtime\core\private\misc\assertionmacros.cpp:349]
UE4Editor-Landscape.dll!ULandscapeComponent::FillLayer() [d:\main\engine\source\runtime\landscape\private\landscapeeditinterface.cpp:1712]
UE4Editor-LandscapeEditor.dll!FLandscapeToolStrokeAddComponent::Apply() [d:\main\engine\source\editor\landscapeeditor\private\landscapeedmodecomponenttools.cpp:977]
UE4Editor-LandscapeEditor.dll!FLandscapeToolBase<FLandscapeToolStrokeAddComponent>::BeginTool() [d:\main\engine\source\editor\landscapeeditor\private\landscapeedmodetools.h:1341]
UE4Editor-LandscapeEditor.dll!FEdModeLandscape::InputKey() [d:\main\engine\source\editor\landscapeeditor\private\landscapeedmode.cpp:1446]
UE4Editor-UnrealEd.dll!FEditorModeTools::InputKey() [d:\main\engine\source\editor\unrealed\private\editormodemanager.cpp:712]
UE4Editor-UnrealEd.dll!FEditorViewportClient::InputKey() [d:\main\engine\source\editor\unrealed\private\editorviewportclient.cpp:2268]
UE4Editor-UnrealEd.dll!FLevelEditorViewportClient::InputKey() [d:\main\engine\source\editor\unrealed\private\leveleditorviewport.cpp:2506]
UE4Editor-Engine.dll!FSceneViewport::OnMouseButtonDown() [d:\main\engine\source\runtime\engine\private\slate\sceneviewport.cpp:453]
UE4Editor-Slate.dll!SViewport::OnMouseButtonDown() [d:\main\engine\source\runtime\slate\private\widgets\sviewport.cpp:187]
UE4Editor-Slate.dll!<lambda_7097b900f0e4be30d80fb18f98c51ea0>::operator()() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4920]
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_7097b900f0e4be30d80fb18f98c51ea0> >() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:239]
UE4Editor-Slate.dll!FSlateApplication::RoutePointerDownEvent() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4909]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDownEvent() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4865]
UE4Editor-Slate.dll!FSlateApplication::OnMouseDown() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4789]
UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() [d:\main\engine\source\runtime\core\private\windows\windowsapplication.cpp:1706]
UE4Editor-Core.dll!FWindowsApplication::DeferMessage() [d:\main\engine\source\runtime\core\private\windows\windowsapplication.cpp:2120]
UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() [d:\main\engine\source\runtime\core\private\windows\windowsapplication.cpp:867]
UE4Editor-Core.dll!FWindowsApplication::AppWndProc() [d:\main\engine\source\runtime\core\private\windows\windowsapplication.cpp:714]
USER32.dll!0x0000000077359BBD
USER32.dll!0x00000000773598C2
UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() [d:\main\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:980]
UE4Editor.exe!FEngineLoop::Tick() [d:\main\engine\source\runtime\launch\private\launchengineloop.cpp:3008]
UE4Editor.exe!GuardedMain() [d:\main\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor.exe!GuardedMainWrapper() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor.exe!WinMain() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32.dll!0x00000000772359CD
ntdll.dll!0x000000007746A561
ntdll.dll!0x000000007746A561

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.16
Target Fix4.16
Fix Commit3301035
Main Commit3301035
CreatedFeb 13, 2017
ResolvedFeb 14, 2017
UpdatedApr 27, 2018
View Jira Issue