Description

This is a common crash affecting users in 4.16.

User Descriptions

  • removing Inventory system form level.
  • delete assets when was compiling shaders
  • Deleting folder
  • Deleting folder.

Source Context

 810       #if WITH_EDITOR
  811       	TArray<FAsyncDistanceFieldTask*> LocalCompletedTasks;
  812       	CompletedTasks.PopAll(LocalCompletedTasks);
  813       
  814       	for (int TaskIndex = 0; TaskIndex < LocalCompletedTasks.Num(); TaskIndex++)
  815       	{
  816       		// We want to count each resource built from a DDC miss, so count each iteration of the loop separately.
  817       		COOK_STAT(auto Timer = DistanceFieldCookStats::UsageStats.TimeSyncWork());
  818       		FAsyncDistanceFieldTask* Task = LocalCompletedTasks[TaskIndex];
  819       
  820       		ReferencedTasks.Remove(Task);
  821       
  822       		Task->GeneratedVolumeData->VolumeTexture.Initialize(Task->StaticMesh);
  823 ***** 		FDistanceFieldVolumeData* OldVolumeData = Task->StaticMesh->RenderData->LODResources[0].DistanceFieldData;
  824       
  825       		{
  826       			// Cause all components using this static mesh to get re-registered, which will recreate their proxies and primitive uniform buffers
  827       			FStaticMeshComponentRecreateRenderStateContext RecreateRenderStateContext(Task->StaticMesh, false);
  828       
  829       			// Assign the new volume data
  830       			Task->StaticMesh->RenderData->LODResources[0].DistanceFieldData = Task->GeneratedVolumeData;
  831       		}
Steps to Reproduce

repro steps currently unknown

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!FDistanceFieldAsyncQueue::ProcessAsyncTasks() [distancefieldatlas.cpp:824]
UE4Editor_Engine!FDistanceFieldAsyncQueue::BlockUntilBuildComplete() [distancefieldatlas.cpp:741]
UE4Editor_Engine!UStaticMesh::CacheDerivedData() [staticmesh.cpp:2183]
UE4Editor_Engine!UStaticMesh::Build() [staticmeshbuild.cpp:105]
UE4Editor_Engine!UStaticMesh::PostEditChangeProperty() [staticmesh.cpp:1790]
UE4Editor_UnrealEd!ObjectTools::ForceReplaceReferences() [objecttools.cpp:774]
UE4Editor_UnrealEd!ObjectTools::ForceDeleteObjects() [objecttools.cpp:2295]
UE4Editor_UnrealEd!FAssetDeleteModel::DoForceDelete() [assetdeletemodel.cpp:316]
UE4Editor_UnrealEd!SDeleteAssetsDialog::ForceDelete() [sdeleteassetsdialog.cpp:717]
UE4Editor_UnrealEd!TMemberFunctionCaller<SDeleteAssetsDialog,FReply() [delegateinstanceinterface.h:165]
UE4Editor_UnrealEd!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SDeleteAssetsDialog,FReply() [tuple.h:497]
UE4Editor_UnrealEd!TBaseSPMethodDelegateInstance<0,SDeleteAssetsDialog,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:5049]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5038]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5515]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5495]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1704]
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!FWindowsApplication::PumpMessages() [windowsapplication.cpp:2139]
UE4Editor_Slate!FSlateApplication::TickPlatform() [slateapplication.cpp:1570]
UE4Editor_Slate!FSlateApplication::AddModalWindow() [slateapplication.cpp:2048]
UE4Editor_UnrealEd!UEditorEngine::EditorAddModalWindow() [editorengine.cpp:3820]
UE4Editor_UnrealEd!ObjectTools::DeleteObjects() [objecttools.cpp:1827]
UE4Editor_ContentBrowser!ContentBrowserUtils::DeleteFolders() [contentbrowserutils.cpp:581]
UE4Editor_ContentBrowser!FPathContextMenu::ExecuteDeleteFolderConfirmed() [pathcontextmenu.cpp:780]
UE4Editor_ContentBrowser!TMemberFunctionCaller<FPathContextMenu,FReply() [delegateinstanceinterface.h:165]
UE4Editor_ContentBrowser!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<FPathContextMenu,FReply() [tuple.h:497]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,FPathContextMenu,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_ContentBrowser!SContentBrowserConfirmPopup::YesClicked() [contentbrowserutils.cpp:248]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SContentBrowserConfirmPopup,FReply() [delegateinstanceinterface.h:165]
UE4Editor_ContentBrowser!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SContentBrowserConfirmPopup,FReply() [tuple.h:497]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowserConfirmPopup,0,FReply __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:5049]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:239]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5038]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5515]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5495]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1704]
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 AnswerHub just mention UE-47522 in the post.

0
Login to Vote

Fixed
ComponentRendering
Affects Versions4.16
Target Fix4.17
Fix Commit3516977
Main Commit3555226
Release Commit3516977
CreatedJul 20, 2017
ResolvedJul 21, 2017
UpdatedApr 27, 2018