Description

Attempting to run a standalone server and client using different processes will crash if the Code Editor plugin is enabled.

Steps to Reproduce
  1. Create a new Blank Blueprint project.
  2. Open the Advanced Settings under the Play button.
  3. In the Multiplayer Options section, check the Run Dedicated Server option.
  4. Uncheck the Use Single Process option.
  5. Change the Editor Multiplayer Mode option to "Play As Client."
  6. Start playing the project in a Standalone.
  7. Verify that the server starts and runs and the client window connects to the server and opens the default level.
  8. Close the client and server.
  9. Open the Plugins window.
  10. Enable the Code Editor plugin.
    • This plugin is experimental, so you will need to confirm that you wish to enable it.
  11. Restart the Editor.
  12. Start playing the project in Standalone.

RESULT:
The server crashes, and the client window remains black since there is no server to connect to.

EXPECTED:
The server starts successfully and the client connects to the server successfully.

Callstack
LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Assertion failed: IsValid() [File:D:\Main-Builds\Stream\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 838] 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x000007fefd58bded KERNELBASE.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x000007fec831d6d7 UE4Editor-Core.dll!ReportAssert() [d:\main-builds\stream\engine\source\runtime\core\private\windows\windowsplatformcrashcontext.cpp:531]
LogWindows: Error: [Callstack] 0x000007fec832015e UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [d:\main-builds\stream\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:70]
LogWindows: Error: [Callstack] 0x000007fec80e7aa7 UE4Editor-Core.dll!FOutputDevice::LogfImpl() [d:\main-builds\stream\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
LogWindows: Error: [Callstack] 0x000007fec805e177 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\main-builds\stream\engine\source\runtime\core\private\misc\assertionmacros.cpp:413]
LogWindows: Error: [Callstack] 0x000007fec74a7acb UE4Editor-Slate.dll!FSlateApplication::Get() [d:\main-builds\stream\engine\source\runtime\slate\public\framework\application\slateapplication.h:302]
LogWindows: Error: [Callstack] 0x000007fea5d0b00b UE4Editor-MainFrame.dll!FMainFrameCommands::RegisterCommands() [d:\main-builds\stream\engine\source\editor\mainframe\private\frame\mainframeactions.cpp:83]
LogWindows: Error: [Callstack] 0x000007fea5d0aeb2 UE4Editor-MainFrame.dll!TCommands<FMainFrameCommands>::Register() [d:\main-builds\stream\engine\source\runtime\slate\public\framework\commands\commands.h:57]
LogWindows: Error: [Callstack] 0x000007fea5d119ec UE4Editor-MainFrame.dll!FMainFrameModule::StartupModule() [d:\main-builds\stream\engine\source\editor\mainframe\private\mainframemodule.cpp:495]
LogWindows: Error: [Callstack] 0x000007fec81483b9 UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:548]
LogWindows: Error: [Callstack] 0x000007fec81475bc UE4Editor-Core.dll!FModuleManager::LoadModule() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:367]
LogWindows: Error: [Callstack] 0x000007fec8147607 UE4Editor-Core.dll!FModuleManager::LoadModuleChecked() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:372]
LogWindows: Error: [Callstack] 0x000007feb07bfa20 UE4Editor-LevelEditor.dll!FLevelEditorModule::StartupModule() [d:\main-builds\stream\engine\source\editor\leveleditor\private\leveleditor.cpp:232]
LogWindows: Error: [Callstack] 0x000007fec81483b9 UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:548]
LogWindows: Error: [Callstack] 0x000007fec81475bc UE4Editor-Core.dll!FModuleManager::LoadModule() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:367]
LogWindows: Error: [Callstack] 0x000007fec8147607 UE4Editor-Core.dll!FModuleManager::LoadModuleChecked() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:372]
LogWindows: Error: [Callstack] 0x000007fea3bcacfe UE4Editor-CodeEditor.dll!FCodeEditor::StartupModule() [d:\main-builds\stream\engine\plugins\experimental\codeeditor\source\codeeditor\private\codeeditor.cpp:69]
LogWindows: Error: [Callstack] 0x000007fec81483b9 UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [d:\main-builds\stream\engine\source\runtime\core\private\modules\modulemanager.cpp:548]
LogWindows: Error: [Callstack] 0x000007feee29f3a3 UE4Editor-Projects.dll!FModuleDescriptor::LoadModulesForPhase() [d:\main-builds\stream\engine\source\runtime\projects\private\moduledescriptor.cpp:593]
LogWindows: Error: [Callstack] 0x000007feee2b3d81 UE4Editor-Projects.dll!TryLoadModulesForPlugin() [d:\main-builds\stream\engine\source\runtime\projects\private\pluginmanager.cpp:922]
LogWindows: Error: [Callstack] 0x000007feee29f0f8 UE4Editor-Projects.dll!FPluginManager::LoadModulesForEnabledPlugins() [d:\main-builds\stream\engine\source\runtime\projects\private\pluginmanager.cpp:987]
LogWindows: Error: [Callstack] 0x000000013fed89ba UE4Editor.exe!FEngineLoop::LoadStartupModules() [d:\main-builds\stream\engine\source\runtime\launch\private\launchengineloop.cpp:3111]
LogWindows: Error: [Callstack] 0x000000013fedea7c UE4Editor.exe!FEngineLoop::PreInit() [d:\main-builds\stream\engine\source\runtime\launch\private\launchengineloop.cpp:2513]
LogWindows: Error: [Callstack] 0x000000013fed5d82 UE4Editor.exe!GuardedMain() [d:\main-builds\stream\engine\source\runtime\launch\private\launch.cpp:135]
LogWindows: Error: [Callstack] 0x000000013fed5fda UE4Editor.exe!GuardedMainWrapper() [d:\main-builds\stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
LogWindows: Error: [Callstack] 0x000000013fee5a6c UE4Editor.exe!WinMain() [d:\main-builds\stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:269]
LogWindows: Error: [Callstack] 0x000000013fee848e UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogWindows: Error: [Callstack] 0x00000000778059cd kernel32.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x0000000077a6385d ntdll.dll!UnknownFunction []
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-68673 in the post.

2
Login to Vote

Fixed
ComponentTools
Affects Versions4.21.14.224.20.3
Target Fix4.22
Fix Commit4770649
Main Commit4837001
Release Commit4862694
CreatedJan 17, 2019
ResolvedJan 22, 2019
UpdatedFeb 12, 2019