Description

Error message:

Fatal error: [Link Removed] [Line: 1959] /Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap still around trying to load ../../../Engine/Content/Maps/Templates/Template_Default.umap (Object is not currently rooted)

Source Context:

1944       {
 1945       	// Make sure the old world is completely gone, except if the new world was one of it's sublevels
 1946       	for(TObjectIterator<UWorld> It; It; ++It)
 1947       	{
 1948       		UWorld* RemainingWorld = *It;
 1949       		const bool bIsNewWorld = (NewWorld && RemainingWorld == NewWorld);
 1950       		const bool bIsPersistantWorldType = (RemainingWorld->WorldType == EWorldType::Inactive) || (RemainingWorld->WorldType == EWorldType::EditorPreview);
 1951       		if(!bIsNewWorld && !bIsPersistantWorldType && !WorldHasValidContext(RemainingWorld))
 1952       		{
 1953       			StaticExec(RemainingWorld, *FString::Printf(TEXT("OBJ REFS CLASS=WORLD NAME=%s"), *RemainingWorld->GetPathName()));
 1954       
 1955       			TMap<UObject*, UProperty*>	Route		= FArchiveTraceRoute::FindShortestRootPath(RemainingWorld, true, GARBAGE_COLLECTION_KEEPFLAGS);
 1956       			FString						ErrorString	= FArchiveTraceRoute::PrintRootPath(Route, RemainingWorld);
 1957       
 1958 ***** 			UE_LOG(LogEditorServer, Fatal, TEXT("%s still around trying to load %s") LINE_TERMINATOR TEXT("%s"), *RemainingWorld->GetPathName(), TempFname, *ErrorString);
 1959       		}
 1960       	}
 1961       
 1962       
 1963       	if(WorldPackage != NULL)
 1964       	{
 1965       		UPackage* NewWorldPackage = NewWorld ? NewWorld->GetOutermost() : nullptr;
 1966       		for(TObjectIterator<UPackage> It; It; ++It)
 1967       		{
 1968       			UPackage* RemainingPackage = *It;
 1969       			const bool bIsNewWorldPackage = (NewWorldPackage && RemainingPackage == NewWorldPackage);
 1970       			if(!bIsNewWorldPackage && RemainingPackage == WorldPackage)
 1971       			{
 1972       				StaticExec(NULL, *FString::Printf(TEXT("OBJ REFS CLASS=PACKAGE NAME=%s"), *RemainingPackage->GetPathName()));
 1973       

*Most recent user affected CL:*3299760

Logs:
[Link Removed]
[Link Removed]
[Link Removed]
[Link Removed]

Issue call stack shares some similarities with this Jira [Link Removed]


CrashReporter User Descriptions:

Steps to Reproduce

Unknown

Callstack

Fatal error: [Link Removed] [Line: 1959] /Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap still around trying to load ../../../Engine/Content/Maps/Templates/Template_Default.umap (Object is not currently rooted)

UE4Editor_UnrealEd!UEditorEngine::CheckForWorldGCLeaks() editorserver.cpp:1959
UE4Editor_UnrealEd!UEditorEngine::EditorDestroyWorld() editorserver.cpp:2090
UE4Editor_UnrealEd!UEditorEngine::Map_Load() editorserver.cpp:2442
UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() editorserver.cpp:6137
UE4Editor_UnrealEd!UEditorEngine::Exec() editorserver.cpp:5614
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() unrealedsrv.cpp:670
UE4Editor_UnrealEd!FEditorFileUtils::LoadMap() filehelpers.cpp:2220
UE4Editor_LevelEditor!FLevelEditorActionCallbacks::NewLevel() leveleditoractions.cpp:214
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() delegateinstancesimpl.h:1027
UE4Editor_Slate!FUICommandList::ExecuteAction() uicommandlist.cpp:97
UE4Editor_Slate!SMenuEntryBlock::OnClicked() smenuentryblock.cpp:1041
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() smenuentryblock.cpp:1001
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() delegateinstanceinterface.h:165
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() tuple.h:134
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() delegateinstancesimpl.h:327
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() delegatesignatureimpl.inl:537
UE4Editor_Slate!SButton::OnMouseButtonUp() sbutton.cpp:278
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() smenuentryblock.cpp:399
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() slateapplication.cpp:5075
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() slateapplication.cpp:238
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() slateapplication.cpp:5064
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() slateapplication.cpp:5531
UE4Editor_Slate!FSlateApplication::OnMouseUp() slateapplication.cpp:5508
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() windowsapplication.cpp:1698
UE4Editor_Core!FWindowsApplication::DeferMessage() windowsapplication.cpp:2120
UE4Editor_Core!FWindowsApplication::ProcessMessage() windowsapplication.cpp:867
UE4Editor_Core!FWindowsApplication::AppWndProc() windowsapplication.cpp:714
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() windowsplatformmisc.cpp:980
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2977
UE4Editor!GuardedMain() launch.cpp:166
UE4Editor!GuardedMainWrapper() launchwindows.cpp:134
UE4Editor!WinMain() launchwindows.cpp:210
UE4Editor!__scrt_common_main_seh() exe_common.inl:264
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-42180 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.134.14.34.154.22
Target Fix4.23
Fix Commit5371058
Main Commit6835252
Release Commit6955818
CreatedFeb 20, 2017
ResolvedMar 12, 2019
UpdatedFeb 12, 2020