Description

Comments from users:

  • Yeah lost all of my work. Tried to save again as a new name and crashed
  • Tried to save map as a new name. Lost a bunch of work.
  • I saved as another level and it closed
  • Tried to save map as...
  • crashed while I was saving the level with the new name.
  41       	virtual void Serialize(void* Data,int64 Num)
   42       	{
   43       		// Don't try to add/memcpy zero sized items
   44       		if (Data != NULL && Num > 0)
   45       		{
   46       			if(Offset == ObjectData.Num())
   47       			{
   48       				ObjectData.AddUninitialized(Num);
   49       			}
   50 ***** 			FMemory::Memcpy(&ObjectData[Offset],Data,Num);
   51       			Offset += Num;
   52       		}
   53       	}
Steps to Reproduce

No known steps to reproduce

Attempted renaming levels in both Blueprint and C++ templates, unable to reproduce locally

Callstack
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\Containers/Array.h] [Line: 610] Array index out of bounds: 2127128906 from an array of size -2078359906

UE4Editor_CoreUObject!FDuplicateDataWriter::Serialize() [duplicateddatawriter.h:51]
UE4Editor_CoreUObject!FUntypedBulkData::SerializeBulkData() [bulkdata.cpp:1253]
UE4Editor_CoreUObject!FUntypedBulkData::Serialize() [bulkdata.cpp:1043]
UE4Editor_Engine!UTexture2D::Serialize() [texture2d.cpp:231]
UE4Editor_Engine!ULightMapTexture2D::Serialize() [lightmap.cpp:122]
UE4Editor_CoreUObject!StaticDuplicateObjectEx() [uobjectglobals.cpp:2054]
UE4Editor_CoreUObject!StaticDuplicateObject() [uobjectglobals.cpp:1960]
UE4Editor_Engine!UWorld::PostDuplicate() [world.cpp:668]
UE4Editor_CoreUObject!StaticDuplicateObjectEx() [uobjectglobals.cpp:2103]
UE4Editor_CoreUObject!StaticDuplicateObject() [uobjectglobals.cpp:1960]
UE4Editor_UnrealEd!ObjectTools::DuplicateSingleObject() [objecttools.cpp:520]
UE4Editor_UnrealEd!SaveWorld() [filehelpers.cpp:559]
UE4Editor_UnrealEd!FEditorFileUtils::SaveMap() [filehelpers.cpp:2329]
UE4Editor_UnrealEd!SaveAsImplementation() [filehelpers.cpp:915]
UE4Editor_UnrealEd!FEditorFileUtils::SaveLevelAs() [filehelpers.cpp:1090]
UE4Editor_LevelEditor!FLevelEditorActionCallbacks::SaveCurrentAs() [leveleditoractions.cpp:412]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:788]
UE4Editor_Slate!FUICommandList::ExecuteAction() [uicommandlist.cpp:97]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [smenuentryblock.cpp:1028]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [smenuentryblock.cpp:988]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply() [delegateinstanceinterface.h:156]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply() [tuple.h:498]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl() [delegateinstancesimpl.h:269]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [sbutton.cpp:282]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [smenuentryblock.cpp:385]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator() [slateapplication.cpp:5440]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [slateapplication.cpp:266]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [slateapplication.cpp:5429]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [slateapplication.cpp:5927]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [slateapplication.cpp:5907]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [windowsapplication.cpp:1726]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [windowsapplication.cpp:2172]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [windowsapplication.cpp:889]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [windowsapplication.cpp:726]
user32!UserCallWinProcCheckWow()
user32!DispatchMessageWorker()
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [windowsplatformapplicationmisc.cpp:129]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3263]
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-56509 in the post.

2
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.184.19
Target Fix4.20
Fix Commit4114351
Main Commit4124555
Release Commit4114351
CreatedMar 27, 2018
ResolvedJun 5, 2018
UpdatedAug 15, 2018
View Jira Issue