Description

Pasting an element into a Widget Blueprint after removing the canvas panel will result in a crash.  This has been tested with the border and button elements.

This issue is occurring in //UE5/Release-5.0-EarlyAccess Bianry CL 16682836
This issue is occurring in //UE4/Release-4.26 Binary CL 15973114

Not a Regression

Steps to Reproduce
  1. Create a Widget Blueprint
  2. Add a border to the canvas panel
  3. Copy the border from the hierarchy
  4. Create a new Widget Blueprint
  5. Delete the canvas panel from the hierarchy
  6. Paste the border
    Result
    Crash
Callstack
[Callstack] 0x00007ffca28482b1 UnrealEditor-UMGEditor.dll!FWidgetBlueprintEditorUtils::PasteWidgetsInternal() [D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditorUtils.cpp:1337]
[Callstack] 0x00007ffca2847dde UnrealEditor-UMGEditor.dll!FWidgetBlueprintEditorUtils::PasteWidgets() [D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditorUtils.cpp:1318]
[Callstack] 0x00007ffca28479c6 UnrealEditor-UMGEditor.dll!FWidgetBlueprintEditor::PasteWidgets() [D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\WidgetBlueprintEditor.cpp:530]
[Callstack] 0x00007ffca27ff936 UnrealEditor-UMGEditor.dll!TBaseSPMethodDelegateInstance<0,FWidgetBlueprintEditor,0,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
[Callstack] 0x00007ffcc248c18e UnrealEditor-Slate.dll!FUICommandList::ConditionalProcessCommandBindings() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:220]
[Callstack] 0x00007ffcc24e339a UnrealEditor-Slate.dll!FUICommandList::ProcessCommandBindings() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:164]
[Callstack] 0x00007ffca283ce9c UnrealEditor-UMGEditor.dll!SHierarchyView::OnKeyDown() [D:\build\++UE5\Sync\Engine\Source\Editor\UMGEditor\Private\Hierarchy\SHierarchyView.cpp:146]
[Callstack] 0x00007ffcc23a1b52 UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_4d5c9a557189a6d2a2f883323491828e> >() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:385]
[Callstack] 0x00007ffcc240519a UnrealEditor-Slate.dll!FSlateApplication::ProcessKeyDownEvent() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4345]
[Callstack] 0x00007ffcc23f9156 UnrealEditor-Slate.dll!FSlateApplication::OnKeyDown() [D:\build\++UE5\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4256]
[Callstack] 0x00007ffcce82a498 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2031]
[Callstack] 0x00007ffcce8190b7 UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2689]
[Callstack] 0x00007ffcce82cce0 UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1872]
[Callstack] 0x00007ffcce814207 UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:896]
[Callstack] 0x00007ffd2afae858 USER32.dll!UnknownFunction []
[Callstack] 0x00007ffd2afae299 USER32.dll!UnknownFunction []
[Callstack] 0x00007ffcce82dfe8 UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\build\++UE5\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:131]
[Callstack] 0x00007ff706c476cb UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4961]
[Callstack] 0x00007ff706c60b2c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:171]
[Callstack] 0x00007ff706c60c0a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
[Callstack] 0x00007ff706c7573d UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
[Callstack] 0x00007ff706c786ba UnrealEditor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[Callstack] 0x00007ffd2ba67034 KERNEL32.DLL!UnknownFunction []
[Callstack] 0x00007ffd2ce42651 ntdll.dll!UnknownFunction [] 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Editor - UI Systems
Affects Versions4.26.25.0-early access 2
Target Fix5.0
Fix Commit16124240
Main Commit16124240
CreatedSep 23, 2021
ResolvedOct 28, 2021
UpdatedNov 30, 2021