Description

This is a common crash affecting users in 4.17 and 4.18.

User Descriptions

  • I wasn't able to get my UCX collision to import. Clicked the yellow "return" arrow next to the asset import settings options in the static mesh editor. It made all the options go away. I clicked reimport and well... here we are.
  • I was experimenting with Import settings in Mesh editor for an asset (StaticMesh). Somehow this removed asset's info about source. 'Reimport Mesh' would not see 'fbx' files (neither original nor other ones) despite them being in the directory. Crashed shortly after. Probably reproducible.
  • updated (overwrote already imported) mesh exported from 3ds max then clicked on the asset in asset explorer, crash occured

Source Context

  145       //@third party END SIMPLYGON
  146       
  147       FString UAssetImportData::GetFirstFilename() const
  148       {
  149       	return SourceData.SourceFiles.Num() > 0 ? ResolveImportFilename(SourceData.SourceFiles[0].RelativeFilename) : FString();
  150       }
  151       
  152       void UAssetImportData::ExtractFilenames(TArray<FString>& AbsoluteFilenames) const
  153       {
  154       	for (const auto& File : SourceData.SourceFiles)
  155 ***** 	{
  156       		AbsoluteFilenames.Add(ResolveImportFilename(File.RelativeFilename));
  157       	}
  158       }
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_Engine!UAssetImportData::ExtractFilenames() [assetimportdata.cpp:156]
UE4Editor_AssetTools!FAssetTypeActions_StaticMesh::GetResolvedSourceFilePaths() [assettypeactions_staticmesh.cpp:97]
UE4Editor_ContentBrowser!FAssetContextMenu::GetSelectedAssetSourceFilePaths() [assetcontextmenu.cpp:1448]
UE4Editor_ContentBrowser!FAssetContextMenu::AddImportedAssetMenuOptions() [assetcontextmenu.cpp:196]
UE4Editor_ContentBrowser!FAssetContextMenu::MakeContextMenu() [assetcontextmenu.cpp:138]
UE4Editor_ContentBrowser!SContentBrowser::OnGetAssetContextMenu() [scontentbrowser.cpp:1967]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SContentBrowser,TSharedPtr<SWidget,0>() [delegateinstanceinterface.h:165]
UE4Editor_ContentBrowser!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SContentBrowser,TSharedPtr<SWidget,0>() [tuple.h:497]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TSharedPtr<SWidget,0> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseDelegate<TSharedPtr<SWidget,0>,TArray<FAssetData,FDefaultAllocator> const & __ptr64>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_ContentBrowser!SAssetView::OnGetContextMenuContent() [sassetview.cpp:3770]
UE4Editor_ContentBrowser!TMemberFunctionCaller<SAssetView,TSharedPtr<SWidget,0>() [delegateinstanceinterface.h:165]
UE4Editor_ContentBrowser!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SAssetView,TSharedPtr<SWidget,0>() [tuple.h:497]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TSharedPtr<SWidget,0> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<TSharedPtr<SWidget,0> >::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!STableViewBase::OnRightMouseButtonUp() [stableviewbase.cpp:802]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemRightClicked() [slistview.h:790]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonUp() [stablerow.h:502]
UE4Editor_Slate!<lambda_74ecb22bb70e3f50c9d83154dfa5c688>::operator() [slateapplication.cpp:5252]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_74ecb22bb70e3f50c9d83154dfa5c688> >() [slateapplication.cpp:232]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5236]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5690]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5670]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1718]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2161]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:881]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:721]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3151]
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-49443 in the post.

0
Login to Vote

Cannot Reproduce
ComponentTools
Affects Versions4.174.184.194.20
CreatedSep 7, 2017
ResolvedOct 29, 2019
UpdatedJul 14, 2020