Description

When editing the 'Libraries Category Text' field within a Material function a crash occurs.

Regression?
Yes, this crash does not occur in the 4.11 release.

I have attached an image for reference.

Steps to Reproduce

1. Open any new or existing 4.12 project.
2. Create a new Material Function
3. Click in the empty space of the Material Function editor graph.
4. Roll out the 'Libraries Category Text' field.
5. Edit the text in the field and press enter.

Outcome Crash occurs when modifying the text field.

Expected Does not crash.

Callstack
UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:440]
UE4Editor_MaterialEditor!FMaterialEditor::NotifyPreChange() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\materialeditor\private\materialeditor.cpp:3573]
UE4Editor_PropertyEditor!FPropertyNode::NotifyPreChange() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\propertyeditor\private\propertynode.cpp:1875]
UE4Editor_PropertyEditor!FPropertyValueImpl::ImportText() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:422]
UE4Editor_PropertyEditor!<lambda_8f13062a9a5915f6c12df7175a25838d>::operator()() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:1950]
UE4Editor_PropertyEditor!FPropertyValueImpl::EnumerateObjectsToModify() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:43]
UE4Editor_PropertyEditor!FPropertyHandleBase::SetPerObjectValue() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:1938]
UE4Editor_DetailCustomizations!`anonymous namespace'::FEditableTextPropertyHandle::SetText() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\detailcustomizations\private\textcustomization.cpp:79]
UE4Editor_EditorWidgets!STextPropertyEditableTextBox::OnTextCommitted() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\editorwidgets\private\stextpropertyeditabletextbox.cpp:272]
UE4Editor_EditorWidgets!TBaseSPMethodDelegateInstance<0,STextPropertyEditableTextBox,0,TTypeWrapper<void> __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::Execute() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:321]
UE4Editor_EditorWidgets!TBaseSPMethodDelegateInstance<0,STextPropertyEditableTextBox,0,void __cdecl(FText const & __ptr64,enum ETextCommit::Type)>::ExecuteIfSafe() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:428]
UE4Editor_Slate!TBaseDelegate<void,FText const & __ptr64,enum ETextCommit::Type>::ExecuteIfBound() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:608]
UE4Editor_Slate!FSlateEditableTextLayout::HandleCarriageReturn() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:1265]
UE4Editor_Slate!FSlateEditableTextLayout::HandleKeyDown() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\widgets\text\slateeditabletextlayout.cpp:773]
UE4Editor_Slate!SEditableText::OnKeyDown() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\widgets\input\seditabletext.cpp:181]
UE4Editor_Slate!<lambda_7c66138389984533974223608bc6375f>::operator()() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4232]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_7c66138389984533974223608bc6375f> >() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_7c66138389984533974223608bc6375f>,FKeyEvent>() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:197]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4230]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4147]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1342]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1847]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:742]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:664]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:903]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2728]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launch.cpp:148]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions4.12
Target Fix4.13
Fix Commit3007501
Main Commit3050870
CreatedJun 7, 2016
ResolvedJun 9, 2016
UpdatedNov 2, 2021
View Jira Issue