Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

Error message:

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

Source Context:

 1814       {
 1815       	// Make sure the old world is completely gone, except if the new world was one of it's sublevels
 1816       	for(TObjectIterator<UWorld> It; It; ++It)
 1817       	{
 1818       		UWorld* RemainingWorld = *It;
 1819       		const bool bIsNewWorld = (NewWorld && RemainingWorld == NewWorld);
 1820       		const bool bIsPersistantWorldType = (RemainingWorld->WorldType == EWorldType::Inactive) || (RemainingWorld->WorldType == EWorldType::Preview);
 1821       		if(!bIsNewWorld && !bIsPersistantWorldType && !WorldHasValidContext(RemainingWorld))
 1822       		{
 1823       			StaticExec(RemainingWorld, *FString::Printf(TEXT("OBJ REFS CLASS=WORLD NAME=%s"), *RemainingWorld->GetPathName()));
 1824       
 1825       			TMap<UObject*, UProperty*>	Route		= FArchiveTraceRoute::FindShortestRootPath(RemainingWorld, true, GARBAGE_COLLECTION_KEEPFLAGS);
 1826       			FString						ErrorString	= FArchiveTraceRoute::PrintRootPath(Route, RemainingWorld);
 1827       
 1828 ***** 			UE_LOG(LogEditorServer, Fatal, TEXT("%s still around trying to load %s") LINE_TERMINATOR TEXT("%s"), *RemainingWorld->GetPathName(), TempFname, *ErrorString);
 1829       		}
 1830       	}
 1831       
 1832       
 1833       	if(WorldPackage != NULL)
 1834       	{
 1835       		UPackage* NewWorldPackage = NewWorld ? NewWorld->GetOutermost() : nullptr;
 1836       		for(TObjectIterator<UPackage> It; It; ++It)
 1837       		{
 1838       			UPackage* RemainingPackage = *It;
 1839       			const bool bIsNewWorldPackage = (NewWorldPackage && RemainingPackage == NewWorldPackage);
 1840       			if(!bIsNewWorldPackage && RemainingPackage == WorldPackage)
 1841       			{
 1842       				StaticExec(NULL, *FString::Printf(TEXT("OBJ REFS CLASS=PACKAGE NAME=%s"), *RemainingPackage->GetPathName()));
 1843       

Most recent user affected CL: 2934540

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

Issue call stack shares some similarities with [Link Removed]

Steps to Reproduce
  1. Open the editor
  2. Create a new actor blueprint
  3. Open the actor blueprint
  4. Add a text render component
  5. Open the construction script
  6. Create the blueprint in the attached image
  7. Set the source material to "Default Text Material Opaque" for the create dynamic Material Instance (image for reference )
  8. Save and compile
  9. Create a new level (so that you can switch between them)
  10. Place the actor in the level
  11. Save the level
  12. Switch between levels (Make sure that both levels are switched between to insure the editor crashes)
  13. Notice that the editor crashes

Expected: The level that was selected would be opened
Result: Switching levels causes the editor to crash

Callstack
UE4Editor_UnrealEd!UEditorEngine::CheckForWorldGCLeaks() [editorserver.cpp:1829]
UE4Editor_UnrealEd!UEditorEngine::EditorDestroyWorld() [editorserver.cpp:1960]
UE4Editor_UnrealEd!UEditorEngine::Map_Load() [editorserver.cpp:2312]
UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() [editorserver.cpp:5946]
UE4Editor_UnrealEd!UEditorEngine::Exec() [editorserver.cpp:5436]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [unrealedsrv.cpp:744]
UE4Editor_UnrealEd!FEditorFileUtils::LoadMap() [filehelpers.cpp:2070]
UE4Editor_LevelEditor!FLevelEditorActionCallbacks::NewLevel() [leveleditoractions.cpp:183]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl_variadics.inl:1021]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:87]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [smenuentryblock.cpp:1027]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [smenuentryblock.cpp:987]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() [delegateinstanceinterface_variadics.h:161]
UE4Editor_Slate!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SMenuEntryBlock,FReply() [tuple.h:128]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() [delegateinstancesimpl_variadics.inl:321]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:273]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [smenuentryblock.cpp:385]
UE4Editor_Slate!<lambda_9ed539f2a96fd1ccd6d2214174cc7705>::operator() [slateapplication.cpp:4540]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_9ed539f2a96fd1ccd6d2214174cc7705> >() [slateapplication.cpp:214]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:4530]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:4947]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:4923]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1415]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1732]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:697]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:619]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:884]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2610]
UE4Editor!GuardedMain() [launch.cpp:142]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Duplicate
ComponentTools
Affects Versions4.11
Target Fix4.15
CreatedApr 19, 2016
ResolvedNov 29, 2016
UpdatedApr 27, 2018
View Jira Issue