Description

If the "Allow late joining" option is turned on in Editor Preferences, using the Add Client button in PIE will cause a crash on Exit. Crash happens immediately if using VR Preview

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Navigate to Edit->Editor Preferences->General->Experimental->PIE
  3. Check the box for Allow late joining
  4. PIE
  5. Click the Add Client button
  6. Stop PIE

Result:
Editor crashes immediately on exiting PIE

Expected:
PIE ends and control returns to the editor

Callstack
MachineId:7156C35640F86204E61B8383F45DEE17
EpicAccountId:e8c7fa630b6440f69a25a2c64d6c482c

Fatal error: [File:D:\Build\++UE4+Release-4.14+Compile\Sync\Engine\Source\Developer\MessageLog\Private\Model\MessageLogListingModel.cpp] [Line: 82] 
Critical Error World /Temp/Untitled_1.Untitled Object from PIE level still referenced. Shortest path from root: (Object is not currently rooted)



UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:332]
UE4Editor_Core!FMsg::Logf__VA() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\logging\logmacros.cpp:61]
UE4Editor_MessageLog!FMessageLogListingModel::AddMessageInternal() [d:\build\++ue4+release-4.14+compile\sync\engine\source\developer\messagelog\private\model\messageloglistingmodel.cpp:82]
UE4Editor_MessageLog!FMessageLogListingModel::AddMessages() [d:\build\++ue4+release-4.14+compile\sync\engine\source\developer\messagelog\private\model\messageloglistingmodel.cpp:103]
UE4Editor_Core!FMessageLog::Flush() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\logging\messagelog.cpp:198]
UE4Editor_Core!FMessageLog::~FMessageLog() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\core\private\logging\messagelog.cpp:95]
UE4Editor_UnrealEd!UEditorEngine::EndPlayMap() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\playlevel.cpp:432]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:1670]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:371]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2859]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\launch.cpp:152]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.14+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.14+compile\sync\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 existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.14.34.154.184.194.20
CreatedJan 30, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021