Description

This is a common crash affecting users in 4.16.2. It is similar to [Link Removed], which was potentially fixed in 4.16.2. Users have not provided any additional information.

Source Context

 803       	if (DragDropOperation.IsValid())
  804       	{
  805       		FEdModeLandscape* LandscapeEdMode = GetEditorMode();
  806       
  807       		if (LandscapeEdMode != nullptr)
  808       		{
  809       			const TArray<FName>& TargetShownList = LandscapeEdMode->GetTargetShownList();
  810       
  811       			if (TargetShownList.IsValidIndex(DragDropOperation->SlotIndexBeingDragged) && TargetShownList.IsValidIndex(SlotIndex))
  812       			{
  813       				const TArray<FName>* TargetDisplayOrderList = LandscapeEdMode->GetTargetDisplayOrderList();
  814       
  815       				if (TargetDisplayOrderList != nullptr)
  816       				{
  817 ***** 					int32 StartingLayerIndex = TargetDisplayOrderList->Find(LandscapeEdMode->UISettings->ShowUnusedLayers ? TargetShownList[DragDropOperation->SlotIndexBeingDragged + LandscapeEdMode->GetTargetLayerStartingIndex()] : TargetShownList[DragDropOperation->SlotIndexBeingDragged]);
  818       					int32 DestinationLayerIndex = TargetDisplayOrderList->Find(LandscapeEdMode->UISettings->ShowUnusedLayers ? TargetShownList[SlotIndex + LandscapeEdMode->GetTargetLayerStartingIndex()] : TargetShownList[SlotIndex]);
  819       
  820       					if (StartingLayerIndex != INDEX_NONE && DestinationLayerIndex != INDEX_NONE)
  821       					{
  822       						LandscapeEdMode->MoveTargetLayerDisplayOrder(StartingLayerIndex, DestinationLayerIndex);
  823       
  824       						return FReply::Handled();
  825       					}
  826       				}
  827       			}
  828       		}
  829       	}
Steps to Reproduce

repro steps currently unknown

Callstack
UE4Editor_LandscapeEditor!FLandscapeEditorCustomNodeBuilder_TargetLayers::HandleAcceptDrop() [landscapeeditordetailcustomization_targetlayers.cpp:818]
UE4Editor_LandscapeEditor!TMemberFunctionCaller<FLandscapeEditorCustomNodeBuilder_TargetLayers,FReply() [delegateinstanceinterface.h:165]
UE4Editor_LandscapeEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<FLandscapeEditorCustomNodeBuilder_TargetLayers,FReply() [tuple.h:497]
UE4Editor_LandscapeEditor!TBaseSPMethodDelegateInstance<0,FLandscapeEditorCustomNodeBuilder_TargetLayers,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_SlateCore!TBaseDelegate<FReply,FDragDropEvent const & __ptr64,enum SDragAndDropVerticalBox::EItemDropZone,int,SVerticalBox::FSlot * __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_SlateCore!SDragAndDropVerticalBox::OnDrop() [sboxpanel.cpp:437]
UE4Editor_Slate!<lambda_6fe3fac4210ea4fdbbd9f162046616f6>::operator() [slateapplication.cpp:5076]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_6fe3fac4210ea4fdbbd9f162046616f6> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5072]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5515]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5495]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1704]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - LD & Art - Modeling Tools - Landscape
Affects Versions4.16.2
Target Fix4.17
Fix Commit3530674
Main Commit3555226
Release Commit3530674
CreatedJul 6, 2017
ResolvedJul 11, 2017
UpdatedApr 27, 2018