Description

Setting the name of a State or Conduit node to an extremely long string causes a crash

This issue is not a regression.

Steps to Reproduce
  1. Open a FirstPerson template (or any project with a state machine within an animation blueprint)
  2. Open FirstPerson_AnimBP
  3. Go to the state machine
  4. Select a Transition Rule node and copy it (using this to grab a long string easily, reproduced with a lot of regular text as well)
  5. Select a State node and press F2
  6. Paste into the name field and hit enter

Result: Project crashes
Expected Result: State and conduit nodes should have a cap for how long their name can be, preventing the user from entering a string length that is too long.

Callstack
[2018.03.22-20.14.07:347][156]LogWindows: Error: === Critical error: ===
[2018.03.22-20.14.07:347][156]LogWindows: Error: 
[2018.03.22-20.14.07:347][156]LogWindows: Error: Assertion failed: TCString<TCharType>::Strlen(InName)<=NAME_SIZE [File:D:\Build\++UE4+Main+Compile\Sync\Engine\Source\Runtime\Core\Private\UObject\UnrealNames.cpp] [Line: 625] 
[2018.03.22-20.14.07:347][156]LogWindows: Error: 
[2018.03.22-20.14.07:347][156]LogWindows: Error: 
[2018.03.22-20.14.07:347][156]LogWindows: Error: 
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x00000000938B3C58 KERNELBASE.dll!UnknownFunction []
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000071467490 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [d:\build\++ue4+main+compile\sync\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000045B5884B UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:70]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000045AEC769 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000045D3E93E UE4Editor-Core.dll!FName::InitInternal<char>() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\private\uobject\unrealnames.cpp:628]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000045D41763 UE4Editor-Core.dll!FName::InitInternal_HashSplit<char>() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\private\uobject\unrealnames.cpp:620]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000045D78F40 UE4Editor-Core.dll!FName::Init() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\private\uobject\unrealnames.cpp:573]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x0000000045D55296 UE4Editor-Core.dll!FName::FName() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\private\uobject\unrealnames.cpp:447]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x000000003FDF2238 UE4Editor-UnrealEd.dll!FBlueprintEditorUtils::RenameGraph() [d:\build\++ue4+main+compile\sync\engine\source\editor\unrealed\private\kismet2\blueprinteditorutils.cpp:2688]
[2018.03.22-20.14.07:347][156]LogWindows: Error: [Callstack] 0x000000003DC5BAF8 UE4Editor-Kismet.dll!FBlueprintEditor::OnNodeTitleCommitted() [d:\build\++ue4+main+compile\sync\engine\source\editor\kismet\private\blueprinteditor.cpp:7593]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000003DBFF872 UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,TTypeWrapper<void> __cdecl(FText const & __ptr64,enum ETextCommit::Type,UEdGraphNode * __ptr64)>::Execute() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000003DC04572 UE4Editor-Kismet.dll!TBaseSPMethodDelegateInstance<0,FBlueprintEditor,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type,UEdGraphNode * __ptr64)>::ExecuteIfSafe() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000003962D20D UE4Editor-GraphEditor.dll!TBaseDelegate<void,FText const & __ptr64,enum ETextCommit::Type,UEdGraphNode * __ptr64>::ExecuteIfBound() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:624]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000003969FA5C UE4Editor-GraphEditor.dll!SGraphNode::OnNameTextCommited() [d:\build\++ue4+main+compile\sync\engine\source\editor\grapheditor\private\sgraphnode.cpp:1397]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000001AB65637 UE4Editor-AnimationBlueprintEditor.dll!TBaseSPMethodDelegateInstance<0,SGraphNodeAnimState,0,TTypeWrapper<void> __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::Execute() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000001AB65EB7 UE4Editor-AnimationBlueprintEditor.dll!TBaseSPMethodDelegateInstance<0,SGraphNodeAnimState,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040F803CE UE4Editor-Slate.dll!SInlineEditableTextBlock::OnTextBoxCommitted() [d:\build\++ue4+main+compile\sync\engine\source\runtime\slate\private\widgets\text\sinlineeditabletextblock.cpp:312]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040F5B967 UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,TTypeWrapper<void> __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::Execute() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040F5C457 UE4Editor-Slate.dll!TBaseSPMethodDelegateInstance<0,SInlineEditableTextBlock,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4+main+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040F65DA5 UE4Editor-Slate.dll!FSlateEditableTextLayout::HandleFocusLost() [d:\build\++ue4+main+compile\sync\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:786]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040D85724 UE4Editor-Slate.dll!FSlateApplication::SetUserFocus() [d:\build\++ue4+main+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:2876]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040D7D91B UE4Editor-Slate.dll!FSlateApplication::RoutePointerDownEvent() [d:\build\++ue4+main+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5366]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040D6733C UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonDownEvent() [d:\build\++ue4+main+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5280]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000040D5A834 UE4Editor-Slate.dll!FSlateApplication::OnMouseDown() [d:\build\++ue4+main+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5198]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x000000007145E4EE UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+main+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1734]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000071451AF8 UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [d:\build\++ue4+main+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2172]
[2018.03.22-20.14.07:348][156]LogWindows: Error: [Callstack] 0x0000000071460294 UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [d:\build\++ue4+main+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:889]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x000000007144D649 UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [d:\build\++ue4+main+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:726]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000096641C24 USER32.dll!UnknownFunction []
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x000000009664156C USER32.dll!UnknownFunction []
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000071461376 UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4+main+compile\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000090D354CA UE4Editor.exe!FEngineLoop::Tick() [d:\build\++ue4+main+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3306]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000090D46DD0 UE4Editor.exe!GuardedMain() [d:\build\++ue4+main+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000090D46E4A UE4Editor.exe!GuardedMainWrapper() [d:\build\++ue4+main+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000090D54299 UE4Editor.exe!WinMain() [d:\build\++ue4+main+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000090D55CB7 UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x0000000094168364 KERNEL32.DLL!UnknownFunction []
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x00000000969B7091 ntdll.dll!UnknownFunction []
[2018.03.22-20.14.07:349][156]LogWindows: Error: [Callstack] 0x00000000969B7091 ntdll.dll!UnknownFunction []
[2018.03.22-20.14.07:349][156]LogWindows: Error:

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.18.34.19.14.20
Target Fix4.19.1
Fix Commit3966868
CreatedMar 22, 2018
ResolvedMar 27, 2018
UpdatedApr 27, 2018
View Jira Issue