Description

The Editor will crash when trying to set default values to a structure that includes a transform variable.

Found in 4.19 C# 4033788, 4.20 CL# 4302132. 4.21 CL# 4347190

Steps to Reproduce
  1. Open Attached Project
  2. Open "TestBP" and go to the details of "TestVar"
  3. Expand the default value for the transform in the details
  4. Select the X value in the location of the transform then click the variable name just above it again

Results:
Crash

Expected:
A crash would not occur when clicking the variable name

Callstack
Assertion failed: InPropertyChangedEvent.MemberProperty && InPropertyChangedEvent.MemberProperty->GetOwnerStruct() && InPropertyChangedEvent.MemberProperty->GetOwnerStruct()->IsA<UFunction>() [File:D:\Build\++UE4\Sync\Engine\Source\Editor\Kismet\Private\BlueprintDetailsCustomization.cpp] [Line: 2524]

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
UE4Editor_Kismet!FBlueprintVarActionDetails::OnFinishedChangingProperties() [d:\build\++ue4\sync\engine\source\editor\kismet\private\blueprintdetailscustomization.cpp:2527]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintVarActionDetails,0,void __cdecl(FPropertyChangedEvent const & __ptr64),TSharedPtr<FStructOnScope,0>,TWeakObjectPtr<UK2Node_EditablePinBase,FWeakObjectPtr> >::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_PropertyEditor!SDetailsViewBase::NotifyFinishedChangingProperties() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\sdetailsviewbase.cpp:467]
UE4Editor_DetailCustomizations!FTransformStructCustomization::FlushValues() [d:\build\++ue4\sync\engine\source\editor\detailcustomizations\private\mathstructproxycustomizations.cpp:603]
UE4Editor_DetailCustomizations!FMathStructProxyCustomization::OnValueCommitted<FVector,float>() [d:\build\++ue4\sync\engine\source\editor\detailcustomizations\private\mathstructproxycustomizations.cpp:70]
UE4Editor_DetailCustomizations!TBaseSPMethodDelegateInstance<0,FMathStructProxyCustomization,0,void __cdecl(float,enum ETextCommit::Type),TWeakPtr<IPropertyHandle,0>,TSharedRef<TProxyProperty<FVector,float>,0> >::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_DetailCustomizations!SNumericEntryBox<float>::SendChangesFromText() [d:\build\++ue4\sync\engine\source\runtime\slate\public\widgets\input\snumericentrybox.h:467]
UE4Editor_DetailCustomizations!TBaseSPMethodDelegateInstance<0,SNumericEntryBox<float>,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_Slate!FSlateEditableTextLayout::HandleFocusLost() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:786]
UE4Editor_Slate!FSlateApplication::SetUserFocus() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:2923]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5419]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5322]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5240]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1744]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2182]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:895]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:732]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3417]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions4.194.204.21
Target Fix4.21
Fix Commit4454672
Main Commit4454809
Release Commit4454672
CreatedSep 6, 2018
ResolvedOct 11, 2018
UpdatedOct 15, 2018