Description

Generated from CrashReporter

Attempting to open the Window menu in the Editor after having used the Modules window to recompile a Standalone Editor Window plugin will result in the Engine crashing.

Steps to Reproduce
  1. Create a new Basic Code project.
  2. Add a new custom Standalone Editor Window plugin to the project.
  3. Close the Editor.
  4. Build the project in Visual Studio.
  5. Open the project in the Editor.
  6. Add a comment in one of the new plugin's .cpp files and save the file.
  7. Open the Modules window in the Editor.
  8. Recompile the new plugin's module.
  9. Close the Modules window.
  10. Click the Window option in the menu bar to open the Window menu.

RESULT:
The Editor will hang momentarily and then crash due to a failed assertion.

EXPECTED:
The Window menu opens normally.

Callstack
Assertion failed: IsValid() [File:D:\Main-Builds\Stream\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 838]

UE4Editor_Core!FDebug::AssertFailed() [d:\main-builds\stream\engine\source\runtime\core\private\misc\assertionmacros.cpp:413]
UE4Editor_MyPlugin!TCommands<FMyPluginCommands>::Get() [d:\main-builds\stream\engine\source\runtime\slate\public\framework\commands\commands.h:70]
UE4Editor_MyPlugin!FMyPluginModule::AddMenuExtension() [d:\unreal projects\current issues\testplugin3\plugins\myplugin\source\myplugin\private\myplugin.cpp:93]
UE4Editor_MyPlugin!TBaseRawMethodDelegateInstance<0,FMyPluginModule,void __cdecl(FMenuBuilder &)>::ExecuteIfSafe() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:518]
UE4Editor_Slate!FExtender::Apply() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\multiboxextender.cpp:191]
UE4Editor_Slate!FMenuBuilder::ApplyHook() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\multiboxbuilder.cpp:309]
UE4Editor_Slate!FMenuBuilder::EndSection() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\multiboxbuilder.cpp:204]
UE4Editor_MainFrame!FMainMenu::FillWindowMenu() [d:\main-builds\stream\engine\source\editor\mainframe\private\menus\mainmenu.cpp:279]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<TTypeWrapper<void> __cdecl(FMenuBuilder &),TSharedRef<FExtender,0>,TSharedPtr<FTabManager,0> >::Execute() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:761]
UE4Editor_Slate!SMenuEntryBlock::MakeNewMenuWidget() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1353]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<1,SMenuEntryBlock,0,TSharedRef<SWidget,0> __cdecl(void)>::Execute() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:279]
UE4Editor_Slate!SMenuAnchor::SetIsOpen() [d:\main-builds\stream\engine\source\runtime\slate\private\widgets\input\smenuanchor.cpp:306]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1058]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:988]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\main-builds\stream\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:279]
UE4Editor_Slate!SButton::OnMouseButtonDown() [d:\main-builds\stream\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:223]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_6264868de66784e8427f79716494ab5b> >() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:270]
UE4Editor_Slate!FSlateApplication::RoutePointerDownEvent() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5421]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDownEvent() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5374]
UE4Editor_Slate!FSlateApplication::OnMouseDown() [d:\main-builds\stream\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5287]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1850]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2292]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1522]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:772]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\main-builds\stream\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [d:\main-builds\stream\engine\source\runtime\launch\private\launchengineloop.cpp:3806]
UE4Editor!GuardedMain() [d:\main-builds\stream\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\main-builds\stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\main-builds\stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\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 toAnswerHub just mention UE-66852 in the post.

2
Login to Vote

Won't Fix
ComponentTools - Slate
CreatedNov 26, 2018
ResolvedApr 10, 2019
UpdatedApr 10, 2019