Description

Crash after deleting Editor Utility Widget and accessing from Window menu

Steps to Reproduce

For a visual step by step reproduction of this case, please see the following user submitted video. [Link Removed]

 

  1. Create a new Blueprint Project in Unreal Engine 4.22 
  2. Right click the content browser and create a new Editor Utility Widget "Testing"
  3. Add a Checkbox to the Canvas Panel-> Compile & Save.
  4. Exit the "Testing" Editor Utillity Widget window.
  5. In the Editor scene view, select  Window-> Editor Utillity Widgets-> Testing
  6. Confirm the Window pop ups with Check box-> Exit Window
  7. Delete Testing Editor Utillity Widget.
  8. In the Editor scene view, select  Window-> Editor Utillity Widgets-> Testing

 

Result: Crash, see call Stack.

Expected: No longer able to access editor UI slate container that has deleted variable.

 

Callstack
LoginId:677a448d48352201d90930b796056d79
 EpicAccountId:74cb1785c0a148f0a87ef74601ae977a
Unhandled exception
UE4Editor_Blutility
 UE4Editor_Blutility
 UE4Editor_Blutility
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_Slate
 UE4Editor_ApplicationCore
 UE4Editor_ApplicationCore
 UE4Editor_ApplicationCore
 UE4Editor_ApplicationCore
 user32
 user32
 UE4Editor_ApplicationCore
 UE4Editor
 UE4Editor
 UE4Editor
 UE4Editor
 UE4Editor
 kernel32
 ntdll

 

[2019.03.05-15.24.31:811][629]LogWindows: Error: === Critical error: ===
[2019.03.05-15.24.31:811][629]LogWindows: Error: 
[2019.03.05-15.24.31:811][629]LogWindows: Error: Fatal error!
[2019.03.05-15.24.31:811][629]LogWindows: Error: 
[2019.03.05-15.24.31:811][629]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000040
[2019.03.05-15.24.31:811][629]LogWindows: Error: 
[2019.03.05-15.24.31:811][629]LogWindows: Error: [Callstack] 0x00007ffde8acf27c UE4Editor-Blutility.dll!UEditorUtilityWidgetBlueprint::CreateUtilityWidget() [d:\build\++ue4\sync\engine\source\editor\blutility\private\editorutilitywidgetblueprint.cpp:57]
[2019.03.05-15.24.31:811][629]LogWindows: Error: [Callstack] 0x00007ffde8ae24cf UE4Editor-Blutility.dll!UEditorUtilityWidgetBlueprint::SpawnEditorUITab() [d:\build\++ue4\sync\engine\source\editor\blutility\private\editorutilitywidgetblueprint.cpp:44]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffde8ad298a UE4Editor-Blutility.dll!TBaseUObjectMethodDelegateInstance<0,UEditorUtilityWidgetBlueprint,TSharedRef<SDockTab,0> __cdecl(FSpawnTabArgs const &)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:617]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a8cc5a9 UE4Editor-Slate.dll!FTabManager::SpawnTab() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1416]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a89ec1f UE4Editor-Slate.dll!FTabManager::InvokeTab_Internal() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1139]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a89e6ae UE4Editor-Slate.dll!FTabManager::InvokeTab() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1089]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a89e848 UE4Editor-Slate.dll!FTabManager::InvokeTabForMenu() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\docking\tabmanager.cpp:1194]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a88b15f UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,FTabManager,0,void __cdecl(void),FName>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a8a8baf UE4Editor-Slate.dll!SMenuEntryBlock::OnClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1037]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a8af350 UE4Editor-Slate.dll!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:988]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a88a284 UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:279]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a9429d2 UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:293]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a8b0c55 UE4Editor-Slate.dll!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:385]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a794021 UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_6c1f6b862bcfb82ea6dcab28fbcc9463> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:271]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a8102c1 UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5594]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a7faa8a UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6199]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe1a7f03d4 UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:6172]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe4344b8e0 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1842]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe4343ef9f UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2292]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe4344d77f UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1522]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe4343c090 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:772]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe629e6d41 USER32.dll!UnknownFunction []
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe629e6713 USER32.dll!UnknownFunction []
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe4344e946 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ff6599f5d3e UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3882]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ff659a0554c UE4Editor.exe!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:168]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ff659a055ca UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ff659a1315c UE4Editor.exe!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:275]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ff659a15b7e UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe62b93dc4 KERNEL32.DLL!UnknownFunction []
[2019.03.05-15.24.31:812][629]LogWindows: Error: [Callstack] 0x00007ffe653d3691 ntdll.dll!UnknownFunction []
[2019.03.05-15.24.31:812][629]LogWindows: Error: 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-70562 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.22
Target Fix4.22
Fix Commit5296227
Main Commit5308904
Release Commit5296227
CreatedFeb 25, 2019
ResolvedMar 5, 2019
UpdatedMar 26, 2019