Description

Edits made to a struct that is a member of another struct can cause the parent struct to no longer compile and cause save errors.

Steps to Reproduce
  1. Download attached project
  2. Open Output log
  3. Open ParentStruct

Result:
Ensure error listed is printed to the output log

Expected:
Editor is able to open/edit structs and nested structs smoothly

Callstack
LogOutputDevice:Error: === Handled ensure: ===
LogOutputDevice:Error: Ensure condition failed: DefaultStructInstance.IsValid() && DefaultStructInstance.GetStruct() == GetOwnerStruct() [File:D:\Build\++UE4+Release-4.14+Compile\Sync\Engine\Source\Editor\UnrealEd\Private\UserDefinedStructEditorData.cpp] [Line: 105]
LogOutputDevice:Error: Stack: 
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:185]
LogOutputDevice:Error: UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:216]
LogOutputDevice:Error: UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:343]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!UUserDefinedStructEditorData::GetDefaultInstance() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\userdefinedstructeditordata.cpp:105]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!FStructureEditorUtils::Fill_MakeStructureDefaultValue() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\kismet2\structureeditorutils.cpp:502]
LogOutputDevice:Error: UE4Editor-Kismet.dll!FStructureDefaultValueView::Initialize() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\kismet\private\userdefinedstructureeditor.cpp:90]
LogOutputDevice:Error: UE4Editor-Kismet.dll!FUserDefinedStructureEditor::SpawnStructureTab() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\kismet\private\userdefinedstructureeditor.cpp:393]
LogOutputDevice:Error: UE4Editor-Kismet.dll!TMemberFunctionCaller<FUserDefinedStructureEditor,TSharedRef<SDockTab,0> (__cdecl FUserDefinedStructureEditor::*)(FSpawnTabArgs const & __ptr64) __ptr64>::operator()<FSpawnTabArgs const & __ptr64>() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:161
]
LogOutputDevice:Error: UE4Editor-Kismet.dll!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<FUserDefinedStructureEditor,TSharedRef<SDockTab,0> (__cdecl FUserDefinedStructureEditor::*)(FSpawnTabArgs const & __ptr64) __ptr64>,FSpawnTabArgs const & __ptr64>() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\publ
ic\delegates\tuple.h:116]
LogOutputDevice:Error: UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FUserDefinedStructureEditor,0,TSharedRef<SDockTab,0> __cdecl(FSpawnTabArgs const & __ptr64)>::Execute() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:318]
LogOutputDevice:Error: UE4Editor-Slate.dll!TBaseDelegate<TSharedRef<SDockTab,0>,FSpawnTabArgs const & __ptr64>::Execute() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:522]
LogOutputDevice:Error: UE4Editor-Slate.dll!FTabManager::SpawnTab() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1301]
LogOutputDevice:Error: UE4Editor-Slate.dll!FTabManager::RestoreArea_Helper() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1160]
LogOutputDevice:Error: UE4Editor-Slate.dll!FTabManager::RestoreSplitterContent() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1275]
LogOutputDevice:Error: UE4Editor-Slate.dll!FTabManager::RestoreArea_Helper() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1244]
LogOutputDevice:Error: UE4Editor-Slate.dll!FTabManager::RestoreArea() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1136]
LogOutputDevice:Error: UE4Editor-Slate.dll!FTabManager::RestoreFrom() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:700]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!SStandaloneAssetEditorToolkitHost::RestoreFromLayout() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\toolkits\sstandaloneasseteditortoolkithost.cpp:123]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!SStandaloneAssetEditorToolkitHost::SetupInitialContent() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\toolkits\sstandaloneasseteditortoolkithost.cpp:109]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!FAssetEditorToolkit::InitAssetEditor() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\toolkits\asseteditortoolkit.cpp:222]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!FAssetEditorToolkit::InitAssetEditor() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\toolkits\asseteditortoolkit.cpp:44]
LogOutputDevice:Error: UE4Editor-Kismet.dll!FUserDefinedStructureEditor::InitEditor() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\kismet\private\userdefinedstructureeditor.cpp:309]
LogOutputDevice:Error: UE4Editor-Kismet.dll!FBlueprintEditorModule::CreateUserDefinedStructEditor() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\kismet\private\blueprinteditormodule.cpp:326]
LogOutputDevice:Error: UE4Editor-AssetTools.dll!FAssetTypeActions_Struct::OpenAssetEditor() [d:\build\++ue4+release-4.14+compile\sync\engine\source\developer\assettools\private\assettypeactions\assettypeactions_struct.cpp:24]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!FAssetEditorManager::OpenEditorForAsset() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\toolkits\asseteditormanager.cpp:338]
LogOutputDevice:Error: UE4Editor-AssetTools.dll!FAssetTypeActions_Base::AssetsActivated() [d:\build\++ue4+release-4.14+compile\sync\engine\source\developer\assettools\public\assettypeactions_base.h:41]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!SContentBrowser::OnAssetsActivated() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:1822]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper<void> __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::Execute() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:318]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl(TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type)>::ExecuteIfSafe() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:425]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseDelegate<void,TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type>::ExecuteIfBound() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:609]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!SAssetView::OnListMouseButtonDoubleClick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:3657]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl(TSharedPtr<FAssetViewItem,0>)>::Execute() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:318]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>)>::ExecuteIfSafe() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:425]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:609]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\public\widgets\views\slistview.h:718]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\public\widgets\views\stablerow.h:264]
LogOutputDevice:Error: UE4Editor-Slate.dll!<lambda_eeb33fd1b480e3cad58a1531d90d2e14>::operator()() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5404]
LogOutputDevice:Error: UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_eeb33fd1b480e3cad58a1531d90d2e14> >() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
LogOutputDevice:Error: UE4Editor-Slate.dll!FSlateApplication::RoutePointerDoubleClickEvent() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5402]
LogOutputDevice:Error: UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5387]
LogOutputDevice:Error: UE4Editor-Slate.dll!FSlateApplication::OnMouseDoubleClick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5365]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1656]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2071]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:814]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:678]
LogOutputDevice:Error: USER32.dll
LogOutputDevice:Error: USER32.dll
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:951]
LogOutputDevice:Error: UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2811]
LogOutputDevice:Error: UE4Editor.exe!GuardedMain() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launch.cpp:152]
LogOutputDevice:Error: UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
LogOutputDevice:Error: UE4Editor.exe!WinMain() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
LogOutputDevice:Error: UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
LogOutputDevice:Error: kernel32.dll
LogOutputDevice:Error: ntdll.dll

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

17
Login to Vote

Won't Fix
ComponentGameplay - Blueprint
Affects Versions4.14.1
Target Fix4.19
CreatedDec 27, 2016
ResolvedJan 10, 2018
UpdatedJun 11, 2019