Description

MeshEditor Crashes When Tool is Selected.

Found in 4.20 CL# 4233996 and 4.21 CL# 4258917

Steps to Reproduce
  1. Open the editor
  2. Type "MeshEditor.Enable" in console
  3. Click on the Mesh Editing mode

Results:
Crash

Expected:
The mode would be selected 

Callstack
Assertion failed: HoveredFaceMaterial != nullptr [File:D:\Main\Engine\Plugins\Editor\MeshEditor\Source\MeshEditor\MeshEditorMode.cpp] [Line: 435]

UE4Editor_Core!FDebug::AssertFailed() [d:\main\engine\source\runtime\core\private\misc\assertionmacros.cpp:425]
UE4Editor_MeshEditor!FMeshEditorMode::FMeshEditorMode() [d:\main\engine\plugins\editor\mesheditor\source\mesheditor\mesheditormode.cpp:437]
UE4Editor_MeshEditor!<lambda_0a9c1c028305ce4aba606f606dfd3202>::operator()() [d:\main\engine\source\editor\unrealed\public\editormoderegistry.h:166]
UE4Editor_MeshEditor!<lambda_0a9c1c028305ce4aba606f606dfd3202>::<lambda_invoker_cdecl>() [d:\main\engine\source\editor\unrealed\public\editormoderegistry.h:167]
UE4Editor_MeshEditor!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TSharedRef<FEdMode,0> (__cdecl*const & __ptr64)(void)>() [d:\main\engine\source\runtime\core\public\templates\tuple.h:498]
UE4Editor_MeshEditor!TBaseStaticDelegateInstance<TSharedRef<FEdMode,0> __cdecl(void)>::Execute() [d:\main\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:735]
UE4Editor_MeshEditor!TBaseDelegate<TSharedRef<FEdMode,0> >::Execute() [d:\main\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor_MeshEditor!FEditorModeFactory::CreateMode() [d:\main\engine\source\editor\unrealed\public\editormoderegistry.h:111]
UE4Editor_UnrealEd!FEditorModeRegistry::CreateMode() [d:\main\engine\source\editor\unrealed\private\editormoderegistry.cpp:117]
UE4Editor_UnrealEd!FEditorModeTools::ActivateMode() [d:\main\engine\source\editor\unrealed\private\editormodemanager.cpp:397]
UE4Editor_LevelEditor!SLevelEditor::ToggleEditorMode() [d:\main\engine\source\editor\leveleditor\private\sleveleditor.cpp:1256]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl(void),FName>::ExecuteIfSafe() [d:\main\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:788]
UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\main\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:97]
UE4Editor_Slate!SToolBarButtonBlock::OnClicked() [d:\main\engine\source\runtime\slate\private\framework\multibox\stoolbarbuttonblock.cpp:300]
UE4Editor_Slate!SToolBarButtonBlock::OnCheckStateChanged() [d:\main\engine\source\runtime\slate\private\framework\multibox\stoolbarbuttonblock.cpp:325]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,TTypeWrapper<void> __cdecl(enum ECheckBoxState)>::Execute() [d:\main\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:269]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SToolBarButtonBlock,0,void __cdecl(enum ECheckBoxState)>::ExecuteIfSafe() [d:\main\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:345]
UE4Editor_Slate!SCheckBox::OnMouseButtonUp() [d:\main\engine\source\runtime\slate\private\widgets\input\scheckbox.cpp:190]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5483]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:268]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5472]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5979]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\main\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5959]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1736]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2182]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:895]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:732]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\main\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [d:\main\engine\source\runtime\launch\private\launchengineloop.cpp:3417]
UE4Editor!GuardedMain() [d:\main\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\main\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
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-62661 in the post.

2
Login to Vote

Duplicate
ComponentTools
Affects Versions4.204.21
Target Fix4.20.1
Fix Commit4259393
CreatedAug 8, 2018
ResolvedAug 8, 2018
UpdatedAug 8, 2018
View Jira Issue