Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

User Descriptions

  • Switching levels, then when prompted to save current unsaved level, selecting the level that was about to be switched to as the save target.
  • I was trying to save my current map I was making as "Level1." However it was still titled as "Unnamed." When I clicked on "Level1" it asked me to save "Unnamed" so I did as "Level1." While it was trying to load up "Level1" and saving "Unnamed" as "Level1," UE4 crashed.
  • Opening a new level, when unsaved files exist in the old level and overwrite the new level with old level files. This is probably a bug.

Error message:

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

Source Context:

 103       /***********************/
  104       /******** Outer ********/
  105       /***********************/
  106       
  107       /** 
  108        * Walks up the list of outers until it finds the highest one.
  109        *
  110        * @return outermost non NULL Outer.
  111        */
  112       UPackage* UObjectBaseUtility::GetOutermost() const
  113       {
  114       	UObject* Top = (UObject*)this;
  115       	for (;;)
  116       	{
  117 ***** 		UObject* CurrentOuter = Top->GetOuter();
  118       		if (!CurrentOuter)
  119       		{
  120       			return CastChecked<UPackage>(Top);
  121       		}
  122       		Top = CurrentOuter;
  123       	}
  124       }
  125       
  126       /** 
  127        * Finds the outermost package and marks it dirty
  128        */
  129       bool UObjectBaseUtility::MarkPackageDirty() const
  130       {
  131       	// since transient objects will never be saved into a package, there is no need to mark a package dirty
  132       	// if we're transient

Most recent user affected CL: 3106830

Logs:
[Link Removed]
[Link Removed]
[Link Removed]

Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_CoreUObject!UObjectBaseUtility::GetOutermost() [uobjectbaseutility.cpp:118]
UE4Editor_AssetTools!FAssetTypeActions_World::OpenAssetEditor() [assettypeactions_world.cpp:20]
UE4Editor_UnrealEd!FAssetEditorManager::OpenEditorForAsset() [asseteditormanager.cpp:338]
UE4Editor_AssetTools!FAssetTypeActions_Base::AssetsActivated() [assettypeactions_base.h:41]
UE4Editor_ContentBrowser!SContentBrowser::OnAssetsActivated() [scontentbrowser.cpp:1813]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl() [delegateinstancesimpl.h:424]
UE4Editor_ContentBrowser!TBaseDelegate<void,TArray<FAssetData,FDefaultAllocator> const & __ptr64,enum EAssetTypeActivationMethod::Type>::ExecuteIfBound() [delegatesignatureimpl.inl:608]
UE4Editor_ContentBrowser!SAssetView::OnListMouseButtonDoubleClick() [sassetview.cpp:3555]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SAssetView,0,void __cdecl() [delegateinstancesimpl.h:424]
UE4Editor_ContentBrowser!TBaseDelegate<void,TSharedPtr<FAssetViewItem,0> >::ExecuteIfBound() [delegatesignatureimpl.inl:608]
UE4Editor_ContentBrowser!SListView<TSharedPtr<FAssetViewItem,0> >::Private_OnItemDoubleClicked() [slistview.h:718]
UE4Editor_ContentBrowser!STableRow<TSharedPtr<FAssetViewItem,0> >::OnMouseButtonDoubleClick() [stablerow.h:264]
UE4Editor_Slate!<lambda_eeb33fd1b480e3cad58a1531d90d2e14>::operator() [slateapplication.cpp:5293]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FPointerEvent,<lambda_eeb33fd1b480e3cad58a1531d90d2e14> >() [slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerDoubleClickEvent() [slateapplication.cpp:5291]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonDoubleClickEvent() [slateapplication.cpp:5276]
UE4Editor_Slate!FSlateApplication::OnMouseDoubleClick() [slateapplication.cpp:5254]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1588]
UE4Editor_Core!FWindowsApplication::DeferMessage() [windowsapplication.cpp:1930]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:747]
UE4Editor_Core!FWindowsApplication::AppWndProc() [windowsapplication.cpp:669]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [windowsplatformmisc.cpp:905]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2788]
UE4Editor!GuardedMain() [launch.cpp:156]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
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-35712 in the post.

0
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.124.134.164.174.184.19
CreatedSep 8, 2016
ResolvedAug 18, 2021
UpdatedAug 18, 2021