Description

This is a common crash occurring for users in the 4.16 release. It is spread out across many different CrashGroups with slight variations in callstack. Users have not provided any descriptions when crashing, so additional information is not currently available.

Some Example CrashGroups
[Link Removed]
[Link Removed]
[Link Removed]
[Link Removed]

Source Context

1407       	DECLARE_SCOPE_CYCLE_COUNTER( TEXT( "CollectGarbageInternal" ), STAT_CollectGarbageInternal, STATGROUP_GC );
 1408       	STAT_ADD_CUSTOMMESSAGE_NAME( STAT_NamedMarker, TEXT( "GarbageCollection - Begin" ) );
 1409       
 1410       	// We can't collect garbage while there's a load in progress. E.g. one potential issue is Import.XObject
 1411       	check(!IsLoading());
 1412       
 1413       	// Reset GC skip counter
 1414 ***** 	GNumAttemptsSinceLastGC = 0;
 1415       
 1416       	// Flush streaming before GC if requested
 1417       	if (GFlushStreamingOnGC)
 1418       	{
 1419       		if (IsAsyncLoading())
 1420       		{
 1421       			UE_LOG(LogGarbage, Log, TEXT("CollectGarbageInternal() is flushing async loading"));
 1422       		}
 1423       		GGarbageCollectionGuardCritical.GCUnlock();
 1424       		FlushAsyncLoading();
 1425       		GGarbageCollectionGuardCritical.GCLock();
 1426       	}
Steps to Reproduce

repro steps currently unknown. Apparently garbage collection is occurring while a load is in progress.

Callstack
Assertion failed: !IsLoading() [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp] [Line: 1412]

UE4Editor_CoreUObject!CollectGarbageInternal() [garbagecollection.cpp:1415]
UE4Editor_CoreUObject!CollectGarbage() [garbagecollection.cpp:1654]
UE4Editor_UnrealEd!FEditorFileUtils::SaveDirtyPackages() [filehelpers.cpp:3046]
UE4Editor_MainFrame!FMainFrameHandler::CanCloseEditor() [mainframehandler.h:145]
UE4Editor_MainFrame!FMainFrameHandler::CloseRootWindowOverride() [mainframehandler.h:164]
UE4Editor_SlateCore!SWindow::RequestDestroyWindow() [swindow.cpp:1186]
UE4Editor_Slate!FSlateApplication::OnWindowClose() [slateapplication.cpp:6375]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1917]
UE4Editor_Core!FWindowsApplication::ProcessDeferredEvents() [windowsapplication.cpp:2152]
UE4Editor_Slate!FSlateApplication::TickPlatform() [slateapplication.cpp:1578]
UE4Editor_Slate!FSlateApplication::Tick() [slateapplication.cpp:1548]
UE4Editor_UnrealEd!TickSlate() [feedbackcontexteditor.cpp:362]
UE4Editor_UnrealEd!FFeedbackContextEditor::StartSlowTask() [feedbackcontexteditor.cpp:442]
UE4Editor_Core!FSlowTask::MakeDialog() [slowtask.cpp:111]
UE4Editor_Engine!FStaticMeshStatusMessageContext::FStaticMeshStatusMessageContext() [staticmesh.cpp:1096]
UE4Editor_Engine!FStaticMeshRenderData::Cache() [staticmesh.cpp:1280]
UE4Editor_Engine!UStaticMesh::CacheDerivedData() [staticmesh.cpp:2199]
UE4Editor_Engine!UStaticMesh::PostLoad() [staticmesh.cpp:2563]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [obj.cpp:952]
UE4Editor_Engine!UBodySetup::PostLoad() [bodysetup.cpp:890]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [obj.cpp:952]
UE4Editor_CoreUObject!EndLoad() [uobjectglobals.cpp:1535]
UE4Editor_CoreUObject!LoadPackageInternal() [uobjectglobals.cpp:1289]
UE4Editor_CoreUObject!LoadPackage() [uobjectglobals.cpp:1377]
UE4Editor_CoreUObject!ResolveName() [uobjectglobals.cpp:778]
UE4Editor_CoreUObject!StaticLoadObjectInternal() [uobjectglobals.cpp:865]
UE4Editor_CoreUObject!StaticLoadObject() [uobjectglobals.cpp:929]
UE4Editor_UnrealEd!FAssetData::GetAsset() [assetdata.h:250]
UE4Editor_UnrealEd!FAssetDragDropOp::Init() [assetdragdropop.cpp:154]
UE4Editor_UnrealEd!FAssetDragDropOp::New() [assetdragdropop.cpp:31]
UE4Editor_ContentBrowser!SAssetView::OnDraggingAssetItem() [sassetview.cpp:3793]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SAssetView,FReply() [delegateinstanceinterface.h:165]
UE4Editor_ContentBrowser!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SAssetView,FReply() [tuple.h:497]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseDelegate<FReply,FGeometry const & __ptr64,FPointerEvent const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnDragDetected() [stablerow.h:591]
UE4Editor_Slate!<lambda_3d2f0c0de9bfb1f26dd3fbfeef226ad5>::operator() [slateapplication.cpp:5169]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FDirectPolicy,FPointerEvent,<lambda_3d2f0c0de9bfb1f26dd3fbfeef226ad5> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerMoveEvent() [slateapplication.cpp:5167]
UE4Editor_Slate!FSlateApplication::ProcessMouseMoveEvent() [slateapplication.cpp:5713]
UE4Editor_Slate!FSlateApplication::OnMouseMove() [slateapplication.cpp:5647]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1742]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2127]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:867]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:714]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3058]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
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-46063 in the post.

1
Login to Vote

Fixed
ComponentTools
Affects Versions4.16
Target Fix4.16.2
Fix Commit3502786
CreatedJun 14, 2017
ResolvedJun 21, 2017
UpdatedApr 27, 2018