Description

This is a common crash affecting users on 4.16. Users have not provided any descriptions, so additional information is currently unavailable.

Source Context

 561       			::SortPackagesForReload(PackagesToReload);
  562       
  563       			// Remove potential references to to-be deleted objects from the global selection set.
  564       			GEditor->GetSelectedObjects()->DeselectAll();
  565       
  566       			// Detach all components while loading a package.
  567       			// This is necessary for the cases where the load replaces existing objects which may be referenced by the attached components.
  568       			FGlobalComponentReregisterContext ReregisterContext;
  569       
  570       			bool bScriptPackageWasReloaded = false;
  571       			TArray<FReloadPackageData> PackagesToReloadData;
  572       			PackagesToReloadData.Reserve(PackagesToReload.Num());
  573       			for (UPackage* PackageToReload : PackagesToReload)
  574       			{
  575 ***** 				bScriptPackageWasReloaded |= PackageToReload->HasAnyPackageFlags(PKG_ContainsScript);
  576       				PackagesToReloadData.Emplace(PackageToReload, LOAD_None);
  577       			}
Steps to Reproduce

repro steps currently unknown

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

UE4Editor_UnrealEd!PackageTools::ReloadPackages() [packagetools.cpp:576]
UE4Editor_UnrealEd!PackageTools::ReloadPackages() [packagetools.cpp:423]
UE4Editor_ContentBrowser!ContentBrowserUtils::SyncPathsFromSourceControl() [contentbrowserutils.cpp:2116]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<1,FPathContextMenu,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<1,FPathContextMenu,0,void __cdecl() [delegateinstancesimpl.h:434]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [smenuentryblock.cpp:1051]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [smenuentryblock.cpp:1002]
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:278]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [smenuentryblock.cpp:399]
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 Questions & Answers just mention UE-46655 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.164.174.18
Target Fix4.19
Fix Commit3822050
Main Commit4052378
Release Commit3822049
CreatedJun 29, 2017
ResolvedJan 4, 2018
UpdatedMay 4, 2018
View Jira Issue