Editor crashes when renaming UMG widget to existing name

Branch: Build downloaded from Epic’s Perforce server

Build Version: 4.6.0-2372709+++depot+UE4-QA

This has already been reported in another similar thread for 4.5.1 but it was closed since you could not reproduce it, but I can reproduce this issue 100% in 4.6 from a Blank project or an existing project.

Steps:

1 - Create Blank Blueprint Project

2 - Create new UMG Widget Blueprint

3 - In the Widget Blueprint, rename the existing Canvas Panel to “Test1”

4 - Drop a new Horizontal Box onto your Canvas Panel

5 - Rename the Horizontal Box to “Test1”

The editor crashes.

This seems to happen with more than just the Horizontal Box type of Widget, but I haven’t tried them all.

Unknown exception - code 00000001 (first/second chance not available)

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-QA\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp] [Line: 98] 
Renaming an object (HorizontalBox //Engine//Transient.World_1:NewWidgetBlueprint_C_3.WidgetTree_14.HorizontalBox_0) o

KERNELBASE + 37901 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 285 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FMsg::Logf__VA() + 463 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\misc\outputdevice.cpp:526]
UE4Editor_CoreUObject!UObject::Rename() + 855 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\coreuobject\private\uobject\obj.cpp:98]
UE4Editor_UMGEditor!FWidgetBlueprintEditorUtils::RenameWidget() + 687 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\editor\umgeditor\private\widgetblueprinteditorutils.cpp:107]
UE4Editor_UMGEditor!FHierarchyWidget::OnNameTextCommited() + 155 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\editor\umgeditor\private\hierarchy\shierarchyviewitem.cpp:717]
UE4Editor_UMGEditor!TBaseSPMethodDelegateInstance<0,SHierarchyViewItem,0,TTypeWrapper<void> __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::Execute() + 87 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:283]
UE4Editor_UMGEditor!TBaseSPMethodDelegateInstance<0,SHierarchyViewItem,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() + 71 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:381]
UE4Editor_Slate!SInlineEditableTextBlock::OnTextBoxCommitted() + 618 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\widgets\text\sinlineeditabletextblock.cpp:253]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,TTypeWrapper<void> __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::Execute() + 87 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:283]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() + 71 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:381]
UE4Editor_Slate!SEditableText::OnEnter() + 73 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\widgets\input\seditabletext.cpp:974]
UE4Editor_Slate!FTextEditHelper::OnKeyDown() + 750 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\framework\text\textedithelper.cpp:165]
UE4Editor_Slate!SEditableText::OnKeyDown() + 140 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\widgets\input\seditabletext.cpp:1629]
UE4Editor_Slate!<lambda_6b420f259d5a1f20e2e6f9ed7246bab1>::operator()() + 98 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3468]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_6b420f259d5a1f20e2e6f9ed7246bab1> >() + 189 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:208]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_6b420f259d5a1f20e2e6f9ed7246bab1>,FKeyEvent>() + 106 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:190]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() + 889 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3469]
UE4Editor_Slate!FSlateApplication::OnKeyDown() + 296 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:3410]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() + 2628 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsapplication.cpp:1217]
UE4Editor_Core!FWindowsApplication::DeferMessage() + 299 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsapplication.cpp:1657]
UE4Editor_Core!FWindowsApplication::ProcessMessage() + 3483 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsapplication.cpp:742]
UE4Editor_Core!FWindowsApplication::AppWndProc() + 98 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsapplication.cpp:604]
user32 + 105425 bytes
user32 + 104666 bytes
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() + 118 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:774]
UE4Editor!FEngineLoop::Tick() + 3434 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\launchengineloop.cpp:2193]
UE4Editor!GuardedMain() + 478 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\launch.cpp:131]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-qa\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Hello ,

I have followed the steps provided and I have tried to reproduce this issue on source and on binary. I have also tried a clean project in 4.6 as well upgrading a project from 4.5.1 to 4.6. I have also tried using old widgets and creating new widgets both in the clean projects and the ones that have been upgraded. I was unable to reproduce this issue in any of my attempts. Is there any additional information you can provide on this issue such as additional steps that you may have taken to cause the crash?

I’ve just reproduced this on binary 4.6 at home (so different type of build and different computer) by following the steps I outlined. I’m really not doing anything else than what is in those steps =/

Hello ,

I have a few more questions for you.

  1. Can you reproduce this on a clean project?
  2. Can you provide a copy of the project that you are getting to crash?
  3. Can you provide your dxdiag?

I do reproduce it on a clean project, as Step 1 states.

Here’s the project: http://we.tl/Jp7N1vcT9t

Here’s my DxDiag from my work computer but it also happens on my home computer which is a completely different setup (and an ATI card instead of Nvidia).

Hello ,

I downloaded your level and tried to reproduce the issue on my end. I was unable to reproduce the problem. I once again received an error and the name was changed back to the previous name.

Please note that applying the same name to multiple objects is not an intended feature of UE4. Without a way for us to reproduce this issue it can not be taken any further.