Description

The editor seems to be intermittently crashing when switching the value of a Map variable. I've only been able to get this to occur when switching from one type to a Vector at this time.

Steps to Reproduce
  1. Open the attached project
  2. Open TestActor
  3. Select the Map variable
  4. Change the value from String to Vector
  5. Compile the blueprint (It will occasionally crash without needing to compile)

Result: Editor Crashes

Callstack

Access violation - code c0000005 (first/second chance not available)

UE4Editor_CoreUObject!FScriptSet::RemoveAt() set.h:1376 
UE4Editor_CoreUObject!FScriptMapHelper::RemoveAt() unrealtype.h:3182 
UE4Editor_CoreUObject!UMapProperty::ConvertFromType() propertymap.cpp:954 
UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() class.cpp:1050 
UE4Editor_CoreUObject!UObject::SerializeScriptProperties() obj.cpp:1230 
UE4Editor_CoreUObject!UObject::Serialize() obj.cpp:1164 
UE4Editor_Engine!UEngine::CopyPropertiesForUnrelatedObjects() unrealengine.cpp:11579 
UE4Editor_KismetCompiler!FKismetCompilerContext::Compile() kismetcompiler.cpp:3831 
UE4Editor_KismetCompiler!FKismet2CompilerModule::CompileBlueprintInner() kismetcompilermodule.cpp:131 
UE4Editor_KismetCompiler!FKismet2CompilerModule::CompileBlueprint() kismetcompilermodule.cpp:247 
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() kismet2.cpp:840 
UE4Editor_Kismet!FBlueprintEditor::Compile() blueprinteditor.cpp:3292 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl() delegateinstancesimpl.h:434 
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:97 
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() stoolbarbuttonblock.cpp:305 
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply() delegateinstanceinterface.h:165 
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply() tuple.h:504 
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl() delegateinstancesimpl.h:327 
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:537 
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:278 
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5016 
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:239 
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5005 
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5472 
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5449 
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1698 
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2120 
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867 
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714 
user32!<Unknown> 
user32!<Unknown> 
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:980 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:3018 
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!<Unknown> 
ntdll!<Unknown> 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.154.16
Target Fix4.16
Fix Commit3352352
Main Commit3358685
CreatedMar 15, 2017
ResolvedMar 17, 2017
UpdatedJul 31, 2018