Description

If the user creates a Standalone Window Editor plugin and restarts the editor then immediately plays the game as Standalone Game, the editor hits an assert.

[Link Removed]

Appears to only happen in 4.14 preview.

Steps to Reproduce
  1. Create a new C++ Project
  2. Click Edit -> Plugins
  3. Create New Plugin
  4. Choose Standalone Window and name it
  5. After files are created, use "Restart" button in Plugins window.
  6. If asked to build <PluginWindowName>.dll, choose yes.
  7. Once Project restarts, play as Standalone Game
  8. Press any key on the keyboard

RESULT:

Game hits Assert:

Assertion failed: IsValid() [Link Removed] [Line: 794]

EXPECTED:

Creating Plugin and restarting doesn't crash the game when starting as Standalone Game.

Callstack
Assertion failed: IsValid() [File:D:\UnrealEngine-4.14\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 794] 

UE4Editor_Core!FDebug::AssertFailed() [d:\unrealengine-4.14\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UE4Editor_MainFrame!FMainFrameActionCallbacks::OnUnhandledKeyDownEvent() [d:\unrealengine-4.14\engine\source\editor\mainframe\private\frame\mainframeactions.cpp:179]
UE4Editor_MainFrame!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<FReply (__cdecl*const & __ptr64)(FKeyEvent const & __ptr64),FKeyEvent const & __ptr64>() [d:\unrealengine-4.14\engine\source\runtime\core\public\delegates\tuple.h:116]
UE4Editor_MainFrame!TBaseStaticDelegateInstance<FReply __cdecl(FKeyEvent const & __ptr64)>::Execute() [d:\unrealengine-4.14\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:949]
UE4Editor_Slate!TBaseDelegate<FReply,FKeyEvent const & __ptr64>::Execute() [d:\unrealengine-4.14\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:522]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [d:\unrealengine-4.14\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4636]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [d:\unrealengine-4.14\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4538]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\unrealengine-4.14\engine\source\runtime\core\private\windows\windowsapplication.cpp:1487]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\unrealengine-4.14\engine\source\runtime\core\private\windows\windowsapplication.cpp:2071]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\unrealengine-4.14\engine\source\runtime\core\private\windows\windowsapplication.cpp:814]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\unrealengine-4.14\engine\source\runtime\core\private\windows\windowsapplication.cpp:678]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\unrealengine-4.14\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:951]
UE4Editor!FEngineLoop::Tick() [d:\unrealengine-4.14\engine\source\runtime\launch\private\launchengineloop.cpp:2811]
UE4Editor!GuardedMain() [d:\unrealengine-4.14\engine\source\runtime\launch\private\launch.cpp:152]
UE4Editor!GuardedMainWrapper() [d:\unrealengine-4.14\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\unrealengine-4.14\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
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 existingAnswerHub thread and let us know what's up.

1
Login to Vote

Fixed
ComponentDevTools - Plugins
Affects Versions4.14
Target Fix4.15
Fix Commit3185126
Main Commit3229477
CreatedOct 21, 2016
ResolvedNov 3, 2016
UpdatedApr 27, 2018