Description

In cascade if you add particle LODs then remove, clear the LOD settings array, then attempt to add more LODs (after current) the editor will crash. This crash will only occur if you add LODs after current LOD not if you choose the add before LOD option.

Steps to Reproduce
  1. Open any project
  2. Create new Particle System and open
  3. In Cascade, add an LOD after current
  4. Delete the LOD using the Red X icon
  5. Using the garbage can icon next to LOD Settings, empty out that array.(located in details panel)
  6. Add another LOD after current

RESULT
Editor will crash

EXPECTED
Particle LOD is added successfully

Callstack
VCRUNTIME140!memcpy() memcpy.asm:135 
UE4Editor_Cascade!TArray<FParticleSystemLOD,FDefaultAllocator>::InsertZeroed() array.h:1267 
UE4Editor_Cascade!FCascade::AddLOD() cascade.cpp:3447 
UE4Editor_Cascade!TBaseSPMethodDelegateInstance<0,FCascade,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:318 
UE4Editor_Cascade!TBaseSPMethodDelegateInstance<0,FCascade,0,void __cdecl() delegateinstancesimpl.h:424 
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:92 
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() stoolbarbuttonblock.cpp:300 
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() delegateinstanceinterface.h:161 
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() tuple.h:116 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() delegateinstancesimpl.h:318 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:522 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:275 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5010 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:215 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:4999 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5462 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5439 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1652 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2071 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:814 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:678 
user32!UserCallWinProcCheckWow() 
user32!DispatchMessageWorker() 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:951 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2811 
UE4Editor!GuardedMain() launch.cpp:152 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:202 
UE4Editor!__scrt_common_main_seh() exe_common.inl:264 
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-41560 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.14.34.15
Target Fix4.17
Fix Commit3402280
Main Commit3461201
CreatedFeb 3, 2017
ResolvedApr 20, 2017
UpdatedApr 27, 2018
View Jira Issue