Declaring a TMap with an FIntVector key (ex: TMap<FIntVector, int32>) will cause the editor to crash when adding an element to the map.
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = test) TMap<FIntVector, int32> Blocks;
Result:
Editor crashes with provided callstack
Expected:
TMap element added without crash
UE4Editor_CoreUObject!UScriptStruct::GetStructTypeHash() [class.cpp:2332] UE4Editor_CoreUObject!FScriptSet::Rehash() [set.h:1430] UE4Editor_CoreUObject!UMapProperty::CopyValuesInternal() [propertymap.cpp:708] UE4Editor_CoreUObject!FObjectInitializer::InitProperties() [uobjectglobals.cpp:3119] UE4Editor_CoreUObject!FObjectInitializer::PostConstructInit() [uobjectglobals.cpp:2834] UE4Editor_CoreUObject!FObjectInitializer::~FObjectInitializer() [uobjectglobals.cpp:2745] UE4Editor_CoreUObject!StaticConstructObject_Internal() [uobjectglobals.cpp:3271] UE4Editor_CoreUObject!FDuplicateDataWriter::GetDuplicatedObject() [duplicatedatawriter.cpp:161] UE4Editor_CoreUObject!FDuplicateDataWriter::operator<<() [duplicatedatawriter.cpp:67] UE4Editor_Engine!operator<<() [array.h:1120] UE4Editor_Engine!ULevel::Serialize() [level.cpp:353] UE4Editor_CoreUObject!StaticDuplicateObjectEx() [uobjectglobals.cpp:2090] UE4Editor_CoreUObject!StaticDuplicateObject() [uobjectglobals.cpp:1996] UE4Editor_UnrealEd!ObjectTools::DuplicateSingleObject() [objecttools.cpp:500] UE4Editor_UnrealEd!SaveWorld() [filehelpers.cpp:536] UE4Editor_UnrealEd!FEditorFileUtils::SaveMap() [filehelpers.cpp:2311] UE4Editor_UnrealEd!SaveAsImplementation() [filehelpers.cpp:912] UE4Editor_UnrealEd!FEditorFileUtils::SaveLevelAs() [filehelpers.cpp:1041] UE4Editor_LevelEditor!FLevelEditorActionCallbacks::SaveAs() [leveleditoractions.cpp:390] UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027] UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:97] UE4Editor_Slate!SMenuEntryBlock::OnClicked() [smenuentryblock.cpp:1041] UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [smenuentryblock.cpp:1001] UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() [delegateinstanceinterface.h:165] UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() [tuple.h:134] UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() [delegateinstancesimpl.h:327] UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537] UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278] UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [smenuentryblock.cpp:399] UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:5075] UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:238] UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5064] UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5531] UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5508] 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:2977] UE4Editor!GuardedMain() [launch.cpp:166] UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134] UE4Editor!WinMain() [launchwindows.cpp:210] UE4Editor!__scrt_common_main_seh() [exe_common.inl:264] kernel32!<Unknown> ntdll!<Unknown>
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How does TextureRenderTarget2D get TArray<uint8> type data?
What method is used to fill polygonal regions when drawing spline mesh at run time?
How to achieve HLSL Multiple Render Target in Material blueprints?
How does UMG set overlapping layouts?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Why does the REMOVE method of map container remove elements have memory leaks?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-43127 in the post.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.15 |
Target Fix | 4.16 |
Fix Commit | 3376961 |
---|---|
Main Commit | 3380073 |
Created | Mar 21, 2017 |
---|---|
Resolved | Apr 3, 2017 |
Updated | Apr 27, 2018 |