Developer Notes

Issue not fixed, but added some extra logging information to help with future reports

Description

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

Error message:

Assertion failed: PackageFileTag.CompressedSize == PACKAGE_FILE_TAG_SWAPPED [Link Removed] [Line: 446]

Source Context:

  432       		// Serialize package file tag used to determine endianess.
  433       		FCompressedChunkInfo PackageFileTag;
  434       		PackageFileTag.CompressedSize	= 0;
  435       		PackageFileTag.UncompressedSize	= 0;
  436       		*this << PackageFileTag;
  437       		bool bWasByteSwapped = PackageFileTag.CompressedSize != PACKAGE_FILE_TAG;
  438       
  439       		// Read in base summary.
  440       		FCompressedChunkInfo Summary;
  441       		*this << Summary;
  442       
  443       		if (bWasByteSwapped)
  444       		{
  445       			check( PackageFileTag.CompressedSize   == PACKAGE_FILE_TAG_SWAPPED );
  446 ***** 			Summary.CompressedSize = BYTESWAP_ORDER64(Summary.CompressedSize);
  447       			Summary.UncompressedSize = BYTESWAP_ORDER64(Summary.UncompressedSize);
  448       			PackageFileTag.UncompressedSize = BYTESWAP_ORDER64(PackageFileTag.UncompressedSize);
  449       		}
  450       		else
  451       		{
  452       			check( PackageFileTag.CompressedSize   == PACKAGE_FILE_TAG );
  453       		}
  454       
  455       		// Handle change in compression chunk size in backward compatible way.
  456       		int64 LoadingCompressionChunkSize = PackageFileTag.UncompressedSize;
  457       		if (LoadingCompressionChunkSize == PACKAGE_FILE_TAG)
  458       		{
  459       			LoadingCompressionChunkSize = LOADING_COMPRESSION_CHUNK_SIZE;
  460       		}
  461       

Most recent user affected CL: 3172292

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

Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_Core!FArchive::SerializeCompressed() [archive.cpp:447]
UE4Editor_CoreUObject!FUntypedBulkData::SerializeBulkData() [bulkdata.cpp:1164]
UE4Editor_CoreUObject!FUntypedBulkData::LoadDataIntoMemory() [bulkdata.cpp:1300]
UE4Editor_CoreUObject!FUntypedBulkData::MakeSureBulkDataIsLoaded() [bulkdata.cpp:1247]
UE4Editor_CoreUObject!FUntypedBulkData::DetachFromArchive() [bulkdata.cpp:1038]
UE4Editor_CoreUObject!FLinkerLoad::DetachAllBulkData() [linkerload.cpp:4503]
UE4Editor_CoreUObject!FLinkerManager::ResetLoaders() [linkermanager.cpp:125]
UE4Editor_UnrealEd!ObjectTools::ForceReplaceReferences() [objecttools.cpp:611]
UE4Editor_UnrealEd!ObjectTools::ForceDeleteObjects() [objecttools.cpp:2166]
UE4Editor_UnrealEd!FAssetDeleteModel::DoForceDelete() [assetdeletemodel.cpp:284]
UE4Editor_UnrealEd!SDeleteAssetsDialog::ForceDelete() [sdeleteassetsdialog.cpp:705]
UE4Editor_UnrealEd!TMemberFunctionCaller<SDeleteAssetsDialog,FReply() [delegateinstanceinterface.h:161]
UE4Editor_UnrealEd!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SDeleteAssetsDialog,FReply() [tuple.h:115]
UE4Editor_UnrealEd!TBaseSPMethodDelegateInstance<0,SDeleteAssetsDialog,0,FReply __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:278]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator() [slateapplication.cpp:4901]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:4890]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5348]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5328]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1584]
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!FWindowsApplication::PumpMessages() [windowsapplication.cpp:1942]
UE4Editor_Slate!FSlateApplication::TickPlatform() [slateapplication.cpp:1491]
UE4Editor_Slate!FSlateApplication::AddModalWindow() [slateapplication.cpp:1988]
UE4Editor_UnrealEd!UEditorEngine::EditorAddModalWindow() [editorengine.cpp:3592]
UE4Editor_UnrealEd!ObjectTools::DeleteObjects() [objecttools.cpp:1698]
UE4Editor_UnrealEd!ObjectTools::DeleteAssets() [objecttools.cpp:1605]
UE4Editor_ContentBrowser!FAssetContextMenu::ExecuteDelete() [assetcontextmenu.cpp:1784]
UE4Editor_ContentBrowser!SContentBrowser::HandleDeleteCommandExecute() [scontentbrowser.cpp:1972]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,TTypeWrapper<void> __cdecl() [delegateinstancesimpl.h:317]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<0,SContentBrowser,0,void __cdecl() [delegateinstancesimpl.h:423]
UE4Editor_Slate!FUICommandList::ConditionalProcessCommandBindings() [uicommandlist.cpp:211]
UE4Editor_Slate!FUICommandList::ProcessCommandBindings() [uicommandlist.cpp:155]
UE4Editor_ContentBrowser!SContentBrowser::OnKeyDown() [scontentbrowser.cpp:971]
UE4Editor_Slate!<lambda_2afcd964c763e269e2d1a63f3a72f846>::operator() [slateapplication.cpp:4517]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FBubblePolicy,FKeyEvent,<lambda_2afcd964c763e269e2d1a63f3a72f846> >() [slateapplication.cpp:215]
UE4Editor_Slate!FEventRouter::RouteAlongFocusPath<FEventRouter::FBubblePolicy,<lambda_2afcd964c763e269e2d1a63f3a72f846>,FKeyEvent>() [slateapplication.cpp:197]
UE4Editor_Slate!FSlateApplication::ProcessKeyDownEvent() [slateapplication.cpp:4515]
UE4Editor_Slate!FSlateApplication::OnKeyDown() [slateapplication.cpp:4430]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1419]
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 toAnswerHub just mention UE-38767 in the post.

0
Login to Vote

Fixed
ComponentCore
Affects Versions4.13
Target Fix4.15
Fix Commit3273122
Main Commit3389599
Release Commit3273122
CreatedNov 17, 2016
ResolvedJan 26, 2017
UpdatedApr 27, 2018