Crash on recompiling Blueprint Widget

hey!

I am currently creating a menu structure with Blueprints.
The game overlay widget contains a info widget, this includes 3 other widgets. One of them also includes 3 other widgets.

If I create a local variable, which refereces the playercontroller blueprint, in one of these widgets, compile, save and exit, then reopen and open the info widget an ensure fails (view log). When I compile the info page the editor crashes.

I tried recreating this whole stuff in a different project, but no problems there …

Here are the logs:


LogOutputDevice:Error: === Handled ensure: ===
LogOutputDevice:Error: Ensure condition failed: InWidgetTree [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\UMG\Private\UserWidget.cpp] [Line: 389]
LogOutputDevice:Error: Stack: 
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsPlatformStackWalk::StackWalkAndDump() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsplatformstackwalk.cpp:200]
LogOutputDevice:Error: UE4Editor-Core.dll!FDebug::EnsureFailed() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:233]
LogOutputDevice:Error: UE4Editor-Core.dll!FDebug::OptionallyLogFormattedEnsureMessageReturningFalse() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:360]
LogOutputDevice:Error: UE4Editor-UMG.dll!UUserWidget::DuplicateAndInitializeFromWidgetTree() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:389]
LogOutputDevice:Error: UE4Editor-UMG.dll!UWidgetBlueprintGeneratedClass::InitializeWidgetStatic() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\widgetblueprintgeneratedclass.cpp:165]
LogOutputDevice:Error: UE4Editor-UMG.dll!UWidgetBlueprintGeneratedClass::InitializeWidget() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\widgetblueprintgeneratedclass.cpp:248]
LogOutputDevice:Error: UE4Editor-UMG.dll!UUserWidget::Initialize() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:337]
LogOutputDevice:Error: UE4Editor-CoreUObject.dll!StaticDuplicateObjectEx() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2044]
LogOutputDevice:Error: UE4Editor-UMG.dll!UUserWidget::DuplicateAndInitializeFromWidgetTree() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:397]
LogOutputDevice:Error: UE4Editor-UMGEditor.dll!FWidgetBlueprintEditor::UpdatePreview() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\umgeditor\private\widgetblueprinteditor.cpp:867]
LogOutputDevice:Error: UE4Editor-UMGEditor.dll!FWidgetBlueprintEditor::InitWidgetBlueprintEditor() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\umgeditor\private\widgetblueprinteditor.cpp:122]
LogOutputDevice:Error: UE4Editor-UMGEditor.dll!FAssetTypeActions_WidgetBlueprint::OpenAssetEditor() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\umgeditor\private\assettypeactions_widgetblueprint.cpp:28]
LogOutputDevice:Error: UE4Editor-UnrealEd.dll!FAssetEditorManager::OpenEditorForAsset() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private	oolkits\asseteditormanager.cpp:351]
LogOutputDevice:Error: UE4Editor-UMGEditor.dll!FAssetTypeActions_Base::AssetsActivated() [d:\build\++ue4+release-4.16+compile\sync\engine\source\developer\assettools\public\assettypeactions_base.h:50]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!SContentBrowser::OnAssetsActivated() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\contentbrowser\private\scontentbrowser.cpp:1893]
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.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
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.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!SAssetView::OnListMouseButtonDoubleClick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\contentbrowser\private\sassetview.cpp:3755]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl(TSharedPtr<FAssetViewItem,0>)>::Execute() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl(TSharedPtr<FAssetViewItem,0>)>::ExecuteIfSafe() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:624]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\public\widgets\views\slistview.h:815]
LogOutputDevice:Error: UE4Editor-ContentBrowser.dll!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\public\widgets\views\stablerow.h:290]
LogOutputDevice:Error: UE4Editor-Slate.dll!<lambda_eeb33fd1b480e3cad58a1531d90d2e14>::operator()() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5460]
LogOutputDevice:Error: UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_eeb33fd1b480e3cad58a1531d90d2e14> >() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:239]
LogOutputDevice:Error: UE4Editor-Slate.dll!FSlateApplication::RoutePointerDoubleClickEvent() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5458]
LogOutputDevice:Error: UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5441]
LogOutputDevice:Error: UE4Editor-Slate.dll!FSlateApplication::OnMouseDoubleClick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5419]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1708]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2127]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:867]
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:714]
LogOutputDevice:Error: USER32.dll!0x00000000137ABC50
LogOutputDevice:Error: USER32.dll!0x00000000137AB5CF
LogOutputDevice:Error: UE4Editor-Core.dll!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:1009]
LogOutputDevice:Error: UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3058]
LogOutputDevice:Error: UE4Editor.exe!GuardedMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
LogOutputDevice:Error: UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
LogOutputDevice:Error: UE4Editor.exe!WinMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
LogOutputDevice:Error: UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
LogOutputDevice:Error: KERNEL32.DLL!0x0000000012872774
LogOutputDevice:Error: ntdll.dll!0x0000000014F30D51
LogStats:                SubmitErrorReport -  0.000 s
LogStats:                    SendNewReport -  0.158 s
LogStats:             FDebug::EnsureFailed -  2.789 s


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

UE4Editor_CoreUObject!FObjectDuplicationParameters::FObjectDuplicationParameters() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1857]
UE4Editor_UMG!UUserWidget::TemplateInitInner() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:126]
UE4Editor_UMG!<lambda_8efaba992a4c1602a4fd2e124b5a2802>::operator()() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:176]
UE4Editor_UMG!UWidgetTree::ForWidgetAndChildren() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\widgettree.cpp:181]
UE4Editor_UMG!UUserWidget::TemplateInitInner() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:150]
UE4Editor_UMG!UUserWidget::TemplateInit() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:111]
UE4Editor_UMGEditor!FWidgetBlueprintCompiler::PostCompile() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\umgeditor\private\widgetblueprintcompiler.cpp:513]
UE4Editor_KismetCompiler!FKismetCompilerContext::CompileFunctions() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\kismetcompiler\private\kismetcompiler.cpp:4277]
UE4Editor_UMGEditor!FUMGEditorModule::Compile() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\umgeditor\private\umgeditormodule.cpp:160]
UE4Editor_KismetCompiler!FKismet2CompilerModule::CompileBlueprintInner() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\kismetcompiler\private\kismetcompilermodule.cpp:119]
UE4Editor_KismetCompiler!FKismet2CompilerModule::CompileBlueprint() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\kismetcompiler\private\kismetcompilermodule.cpp:247]
UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:829]
UE4Editor_Kismet!FBlueprintEditor::Compile() [d:\build\++ue4+release-4.16+compile\sync\engine\source\editor\kismet\private\blueprinteditor.cpp:3292]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl(void)>::Execute() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:97]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\multibox\stoolbarbuttonblock.cpp:305]
UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::*)(void) __ptr64> >() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public	emplates	uple.h:497]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5049]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5038]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5515]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5495]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1704]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:714]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3058]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.16+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Here the small project I used to recreate the problem (which did not work out): http://stuff…de/testumg.7z

What can I do now? I do not really know how to read the logs and I am stuck on this for the whole day :confused:

Cheers