Description

Crash when moving landscape that contains a landscape spline to another sub-level.

User Description:

The Editor crashes on copy and pasting a landscape spline over to another Level.

Always remember to select the right Level and Landscape in the Landscape Manager. Would be nice if the Manager would select that for me depending on the selected objects.

Steps to Reproduce
  1. Open the attached test project
  2. Go to the Windows dropdown > Open the Levels panel
  3. Select the Landscape on the right
  4. In the Levels panel, right-click L2 > Move Selected Actors to Level

Results: The editor will crash immediately

Expected: For the landscape and landscape spline to be added to the level

Callstack
LoginId:a1be990b4855275a6b8acdb5d49d864a
EpicAccountId:75f47e038a8442f0af6c18e1f38eeb85

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

UE4Editor_Landscape!ULandscapeSplinesComponent::CheckSplinesValid() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\landscape\private\landscapesplines.cpp:388]
UE4Editor_Landscape!ULandscapeSplinesComponent::OnRegister() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\landscape\private\landscapesplines.cpp:398]
UE4Editor_Engine!UActorComponent::ExecuteRegisterEvents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1232]
UE4Editor_Engine!UActorComponent::RegisterComponentWithWorld() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:970]
UE4Editor_Engine!AActor::IncrementalRegisterComponents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\actor.cpp:4123]
UE4Editor_Engine!AActor::RegisterAllComponents() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\actor.cpp:4022]
UE4Editor_Engine!AActor::PostEditChangeProperty() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\engine\private\actoreditor.cpp:130]
UE4Editor_Landscape!ALandscapeProxy::PostEditChangeProperty() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\landscape\private\landscapeedit.cpp:3718]
UE4Editor_Landscape!ALandscape::PostEditChangeProperty() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\landscape\private\landscapeedit.cpp:3854]
UE4Editor_CoreUObject!UObject::PostEditChange() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:333]
UE4Editor_UnrealEd!ImportObjectProperties() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editorobject.cpp:740]
UE4Editor_UnrealEd!ImportObjectProperties() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editorobject.cpp:815]
UE4Editor_UnrealEd!ULevelFactory::FactoryCreateText() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\factories\editorfactories.cpp:1000]
UE4Editor_UnrealEd!UUnrealEdEngine::edactPasteSelected() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editoractor.cpp:349]
UE4Editor_UnrealEd!UEditorLevelUtils::MoveActorsToLevel() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editorlevelutils.cpp:147]
UE4Editor_UnrealEd!UEditorLevelUtils::MoveSelectedActorsToLevel() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\editorlevelutils.cpp:186]
UE4Editor_WorldBrowser!FLevelCollectionModel::MoveActorsToSelected_Executed() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\worldbrowser\private\levelcollectionmodel.cpp:1671]
UE4Editor_WorldBrowser!TBaseSPMethodDelegateInstance<0,FLevelCollectionModel,0,TTypeWrapper<void> __cdecl(void)>::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_WorldBrowser!TBaseSPMethodDelegateInstance<0,FLevelCollectionModel,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
UE4Editor_Slate!FUICommandList::ExecuteAction() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\commands\uicommandlist.cpp:97]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1042]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1002]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void) __ptr64> >() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\templates\tuple.h:497]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:282]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:399]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5199]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:232]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5188]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5690]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5670]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1706]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2149]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:869]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:709]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3151]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

8
Login to Vote

Unresolved
ComponentTools - Landscape
Affects Versions4.16.34.174.18
Target Fix4.23.1
CreatedAug 4, 2017
UpdatedAug 14, 2019