Description

When copy/pasting scene objects from older Unreal versions into Unreal 5.1, the editor will crash.

Steps to Reproduce
  1. Open a map within a 4.25 project
  2. Select some static mesh actors.
  3. Open a map within a 5.1 project
  4. Paste the static mesh actors, and observe the crash
Callstack
  1. > UnrealEditor-UnrealEd.dll!ImportProperties(unsigned char * DestData, const wchar_t * SourceText, UStruct * ObjectStruct, UObject * SubobjectRoot, UObject * SubobjectOuter, FFeedbackContext * Warn, int Depth, FObjectInstancingGraph & InstanceGraph, const TMap<AActor *,AActor *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<AActor *,AActor *,0>> * ActorRemapper) Line 489 C++
  2. UnrealEditor-UnrealEd.dll!ImportObjectProperties(FImportObjectParams & InParams) Line 741 C++
  3. UnrealEditor-UnrealEd.dll!ImportObjectProperties(unsigned char * DestData, const wchar_t * SourceText, UStruct * ObjectStruct, UObject * SubobjectRoot, UObject * SubobjectOuter, FFeedbackContext * Warn, int Depth, int LineNumber, FObjectInstancingGraph * InInstanceGraph, const TMap<AActor *,AActor *,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<AActor *,AActor *,0>> * ActorRemapper) Line 843 C++
  4. UnrealEditor-UnrealEd.dll!ULevelFactory::FactoryCreateText(UClass * Class, UObject * InParent, FName Name, EObjectFlags Flags, UObject * Context, const wchar_t * Type, const wchar_t * & Buffer, const wchar_t * BufferEnd, FFeedbackContext * Warn) Line 1242 C++
  5. UnrealEditor-UnrealEd.dll!UUnrealEdEngine::PasteActors(TArray<AActor *,TSizedDefaultAllocator<32>> & OutPastedActors, UWorld * InWorld, const UE::Math::TVector<double> & LocationOffset, bool bDuplicate, bool bWarnIfHidden, const FString * SourceData) Line 351 C++
  6. UnrealEditor-UnrealEd.dll!UUnrealEdEngine::edactPasteSelected(UWorld * InWorld, bool bDuplicate, bool bOffsetLocations, bool bWarnIfHidden, const FString * SourceData) Line 269 C++
  7. UnrealEditor-UnrealEd.dll!UEditorEngine::PasteSelectedActorsFromClipboard(UWorld * InWorld, const FText & TransDescription, const EPasteTo PasteTo) Line 3662 C++
  8. UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Exec_Edit(UWorld * InWorld, const wchar_t * Str, FOutputDevice & Ar) Line 1568 C++
  9. UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Exec(UWorld * InWorld, const wchar_t * Stream, FOutputDevice & Ar) Line 715 C++
  10. UnrealEditor-LevelEditor.dll!FLevelEditorActionCallbacks::ExecuteExecCommand(FString Command) Line 1903 C++
  11. [Inline Frame] UnrealEditor-LevelEditor.dll!Invoke(void[Image Removed](FString) &) Line 47 C++
  12. [Inline Frame] UnrealEditor-LevelEditor.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int,0>,FString>::ApplyAfter(void[Image Removed](FString) &) Line 327 C++
  13. UnrealEditor-LevelEditor.dll!TBaseStaticDelegateInstance<void __cdecl(void),FDefaultDelegateUserPolicy,FString>::ExecuteIfSafe() Line 739 C++
  14. UnrealEditor-Slate.dll!FUICommandList::ExecuteAction(const TSharedRef<FUICommandInfo const ,1> InUICommandInfo) Line 111 C++
  15. UnrealEditor-Slate.dll!SMenuEntryBlock::OnClicked(bool bCheckBoxClicked) Line 1148 C++
  16. UnrealEditor-Slate.dll!SMenuEntryBlock::OnMenuItemButtonClicked() Line 1108 C++
  17. [Inline Frame] UnrealEditor-Slate.dll!Invoke(FReply(SMenuEntryBlock::*)()) Line 66 C++
  18. [Inline Frame] UnrealEditor-Slate.dll!UE::Core::Private::Tuple::TTupleBase<TIntegerSequence<unsigned int>>::ApplyAfter(FReply(SMenuEntryBlock::*)() &) Line 327 C++
  19. UnrealEditor-Slate.dll!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,1,FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 295 C++
  20. [Inline Frame] UnrealEditor-Slate.dll!TDelegate<FReply __cdecl(void),FDefaultDelegateUserPolicy>::Execute() Line 620 C++
  21. UnrealEditor-Slate.dll!SButton::ExecuteOnClick() Line 465 C++
  22. UnrealEditor-Slate.dll!SButton::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) Line 390 C++
  23. UnrealEditor-Slate.dll!SMenuEntryButton::OnMouseButtonUp(const FGeometry & MyGeometry, const FPointerEvent & MouseEvent) Line 434 C++
  24. UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent::__l8::<lambda>(const FArrangedWidget & TargetWidget, const FPointerEvent & Event) Line 5046 C++
  25. UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,FReply <lambda>(const FArrangedWidget &, const FPointerEvent &)>(FSlateApplication * ThisApplication, FEventRouter::FToLeafmostPolicy RoutingPolicy, FPointerEvent EventCopy, const FSlateApplication::RoutePointerUpEvent::__l8::FReply <lambda>(const FArrangedWidget &, const FPointerEvent &) & Lambda, ESlateDebuggingInputEvent DebuggingInputEvent) Line 412 C++
  26. UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent(const FWidgetPath & WidgetsUnderPointer, const FPointerEvent & PointerEvent) Line 5032 C++
  27. UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent(const FPointerEvent & MouseEvent) Line 5601 C++
  28. UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp(const EMouseButtons::Type Button, const UE::Math::TVector2<double> CursorPos) Line 5566 C++
  29. UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage(const FDeferredWindowsMessage & DeferredMessage) Line 2219 C++
  30. UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage(TSharedPtr<FWindowsWindow,1> & NativeWindow, HWND__ * InHWnd, unsigned int InMessage, unsigned __int64 InWParam, __int64 InLParam, int MouseX, int MouseY, unsigned int RawInputFlags) Line 2726 C++
  31. UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 1895 C++
  32. [Inline Frame] UnrealEditor-ApplicationCore.dll!WindowsApplication_WndProc(HWND__ *) Line 919 C++
  33. UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 925 C++
  34. [External Code]
  35. [Inline Frame] UnrealEditor-ApplicationCore.dll!WinPumpMessages() Line 113 C++
  36. UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages(bool bFromMainLoop) Line 142 C++
  37. UnrealEditor.exe!FEngineLoop::Tick() Line 5291 C++
  38. [Inline Frame] UnrealEditor.exe!EngineTick() Line 66 C++
  39. UnrealEditor.exe!GuardedMain(const wchar_t * CmdLine) Line 202 C++
  40. UnrealEditor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 256 C++
  41. UnrealEditor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 305 C++

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-180607 in the post.

0
Login to Vote

Duplicate
ComponentUE - Editor - Workflow Systems
Affects Versions5.1
Target Fix5.3
CreatedMar 17, 2023
ResolvedMar 27, 2023
UpdatedJan 20, 2024