Serious UMG BUG can't do nothing

The engine crash each time I want to do something in UMG

Steps:

  • New project.

  • Add a new UMG Widget

  • Open the widget and add a verticalbox with a text and image widgets, save *here probably you need add images to the image widgets.

  • Create new widget of UMG and add the first created widget to this one, save and close

  • Go to the first copy the first verticalbox, paste, press compile

  • The whole engine crash.

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

    UE4Editor_CoreUObject!StaticDuplicateObject() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1758]
    UE4Editor_UMG!UWidgetBlueprintGeneratedClass::InitializeWidgetStatic() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\umg\private\widgetblueprintgeneratedclass.cpp:33]
    UE4Editor_UMG!UWidgetBlueprintGeneratedClass::InitializeWidget() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\umg\private\widgetblueprintgeneratedclass.cpp:155]
    UE4Editor_UMG!UUserWidget::Initialize() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\umg\private\userwidget.cpp:80]
    UE4Editor_CoreUObject!StaticDuplicateObjectEx() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1937]
    UE4Editor_CoreUObject!StaticDuplicateObject() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1794]
    UE4Editor_UnrealEd!FBlueprintCompileReinstancer::FBlueprintCompileReinstancer() [d:\build++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:163]
    UE4Editor_UnrealEd!FBlueprintCompileReinstancer::Create() [d:\build++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\public\kismet2\kismetreinstanceutilities.h:100]
    UE4Editor_UnrealEd!FKismetEditorUtilities::RecompileBlueprintBytecode() [d:\build++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:918]
    UE4Editor_UnrealEd!FBlueprintCompileReinstancer::ReinstanceObjects() [d:\build++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\kismet2\kismetreinstanceutilities.cpp:721]
    UE4Editor_UnrealEd!FKismetEditorUtilities::CompileBlueprint() [d:\build++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\kismet2\kismet2.cpp:797]
    UE4Editor_Kismet!FBlueprintEditor::Compile() [d:\build++ue4+release-4.12+compile\sync\engine\source\editor\kismet\private\blueprinteditor.cpp:3184]
    UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper __cdecl(void)>::Execute() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:321]
    UE4Editor_Kismet!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:427]
    UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:87]
    UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\multibox\stoolbarbuttonblock.cpp:300]
    UE4Editor_Slate!TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::)(void) __ptr64>::operator()<>() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
    UE4Editor_Slate!TTupleImpl<TIntegerSequence >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SToolBarButtonBlock,FReply (__cdecl SToolBarButtonBlock::
    )(void) __ptr64> >() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:128]
    UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,FReply __cdecl(void)>::Execute() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:321]
    UE4Editor_Slate!TBaseDelegate::Execute() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:521]
    UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:275]
    UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4598]
    UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
    UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4587]
    UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5041]
    UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5021]
    UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1507]
    UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1847]
    UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:742]
    UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:664]
    user32
    user32
    UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:903]
    UE4Editor!FEngineLoop::Tick() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2728]
    UE4Editor!GuardedMain() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launch.cpp:148]
    UE4Editor!GuardedMainWrapper() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
    UE4Editor!WinMain() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
    UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
    kernel32
    ntdll

There’s a fix for it if you compile the engine: Random crashes on UMG compile - UI - Unreal Engine Forums

Hello ,

This is a known issue (UE-31570) and it has been submitted to the developers for further consideration. I have provided a link to the original issue below. Please feel free to visit the provided link for future updates.

Link: Random crashes on UMG compile - UI - Epic Developer Community Forums

Make it a great day