Description

Crash when duplicating an UMG Animation and not renaming the Duplicate

Hitting Enter correctly warns the user you have an existing Animation by that name, and doesn't crash

Reproduced in //UE4/Release-4.21 at CL 4668964

Steps to Reproduce
  1. Create a Blank Blueprint Project
  2. Create a User Interface > Widget Blueprint, name it anything
  3. Open the Widget Blueprint
  4. Create an Animation, name it anything
  5. Right click the Animation, select Duplicate
  6. Click elsewhere on the screen

Result:
Crash:

Fatal error: [File:D:\P4_Workspaces\Patrick.Finegan_RDU-WD-7067_Switch2\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp] [Line: 200] Renaming an object (WidgetAnimation /Game/NewWidgetBlueprint.NewWidgetBlueprint:NewAnimation_0) on top of an existing object (WidgetAnimation /Game/NewWidgetBlueprint.NewWidgetBlueprint:NewAnimation_1) is not allowed
Callstack
Fatal error: [File:D:\P4_Workspaces\Patrick.Finegan_RDU-WD-7067_Switch2\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp] [Line: 200] Renaming an object (WidgetAnimation /Game/NewWidgetBlueprint.NewWidgetBlueprint:NewAnimation_0) on top of an existing object (WidgetAnimation /Game/NewWidgetBlueprint.NewWidgetBlueprint:NewAnimation_1) is not allowed

UE4Editor_Core!FDebug::AssertFailed() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\core\private\misc\assertionmacros.cpp:413]
UE4Editor_CoreUObject!UObject::Rename() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\coreuobject\private\uobject\obj.cpp:200]
UE4Editor_UMGEditor!SWidgetAnimationListItem::OnNameTextCommited() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\editor\umgeditor\private\tabfactory\animationtabsummoner.cpp:200]
UE4Editor_UMGEditor!TBaseSPMethodDelegateInstance<0,SWidgetAnimationListItem,0,void __cdecl(FText const &,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_Slate!SInlineEditableTextBlock::OnTextBoxCommitted() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\slate\private\widgets\text\sinlineeditabletextblock.cpp:293]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,void __cdecl(FText const &,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_Slate!FSlateEditableTextLayout::HandleFocusLost() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:788]
UE4Editor_Slate!FSlateApplication::SetUserFocus() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:2923]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5484]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5379]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5292]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1850]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2292]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1522]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:772]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\launch\private\launchengineloop.cpp:3807]
UE4Editor!GuardedMain() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\p4_workspaces\patrick.finegan_rdu-wd-7067_switch2\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.214.22
Target Fix4.22
Fix Commit4704838
Main Commit4773320
Release Commit4862694
CreatedDec 19, 2018
ResolvedJan 10, 2019
UpdatedFeb 12, 2019
View Jira Issue