Description

This is a trending crash coming out of the 4.18 previews. It seems to be related to exporting assets from the editor.

User Descriptions

  • When Exporting assets (static meshes) multiple times via RIGHT-CLICK > ASSET ACTIONS > EXPORT ASSET the editor eventually crashes. Replicated reliably here
  • I was exporting an asset. It happens every time I try to do it today, however only once per asset (second attempt is always succesfull)

Source Context

 141       void FFbxExporter::FillExportOptions(bool BatchMode, bool bShowOptionDialog, const FString& FullPath, bool& OutOperationCanceled, bool& bOutExportAll)
  142       {
  143       	OutOperationCanceled = false;
  144       
  145       	if (ExportOptions == nullptr)
  146       	{
  147       		ExportOptions = NewObject<UFbxExportOption>(GetTransientPackage(), NAME_None);
  148       	}
  149       
  150       	//Load the option from the user save ini file
  151 ***** 	ExportOptions->LoadOptions();
  152       	
  153       	//Return if we do not show the export options or we are running automation test or we are unattended
  154       	if (!bShowOptionDialog || GIsAutomationTesting || FApp::IsUnattended())
  155       	{
  156       		return;
  157       	}
Steps to Reproduce

repro steps currently unknown

According to the user descriptions this should be as easy as selecting a StaticMesh in the Content Browser and choosing Asset Actions > Export. However my quick test of this multiple times did not reproduce any issue. It may depend on the config settings.

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

UE4Editor_UnrealEd!UnFbx::FFbxExporter::FillExportOptions() [fbxmainexport.cpp:152]
UE4Editor_UnrealEd!UStaticMeshExporterFBX::ExportBinary() [editorexporters.cpp:1825]
UE4Editor_Engine!UExporter::ExportToArchive() [unrealexporter.cpp:157]
UE4Editor_Engine!UExporter::ExportToFileEx() [unrealexporter.cpp:461]
UE4Editor_AssetTools!UAssetToolsImpl::ExportAssetsInternal() [assettools.cpp:1882]
UE4Editor_AssetTools!UAssetToolsImpl::ExportAssetsWithDialog() [assettools.cpp:713]
UE4Editor_ContentBrowser!FAssetContextMenu::ExecuteExport() [assetcontextmenu.cpp:2043]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,FAssetContextMenu,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,FAssetContextMenu,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [smenuentryblock.cpp:1091]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [smenuentryblock.cpp:1042]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() [delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() [tuple.h:497]
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:282]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [smenuentryblock.cpp:439]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5264]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:234]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5253]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5755]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5735]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1725]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2171]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:888]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:725]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3220]
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-50502 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.18
Target Fix4.18
Fix Commit3662797
Release Commit3662797
CreatedSep 28, 2017
ResolvedSep 29, 2017
UpdatedFeb 4, 2019