Description

The Editor crashes when attempting to convert a Landscape into a Blueprint Class. Looking back to //UE4/Release-4.24 cl 11590231, this option seems to be unselectable (see attached image), which leads me to believe this is not an expected workflow for normal users.

We need to either support landscape conversions to blueprint classes or prevent the user from making this selection in the first place.

For the above reasons, I am marking this as a regression.

Steps to Reproduce
  1. Open any project
  2. Enter Landscape mode (Shift + 2)
  3. Create a default Landscape
  4. Enter Selection mode (Shift + 1)
  5. Select the created Landscape
  6. At the top of the viewport toolbar, click on the dropdown arrow next to Blueprint
  7. Select "Convert selection to Blueprint Class"
  8. Select an Actor class and click OK

Result
Editor crashes when attempting the conversion

Expected
Either the user is unable to convert Landscapes into Blueprint Classes
or
The conversion is successful and no crash occurs.

Callstack
Assertion failed: OwningWorld [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Landscape/Private/Landscape.cpp] [Line: 1176]

UE4Editor_Core!AssertFailedImplV() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:100]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:450]
UE4Editor_Landscape!ALandscapeProxy::CreateLandscapeInfo() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Landscape\Private\Landscape.cpp:1176]
UE4Editor_Landscape!ALandscape::PostDuplicate() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp:3772]
UE4Editor_CoreUObject!StaticDuplicateObjectEx() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2106]
UE4Editor_CoreUObject!StaticDuplicateObject() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1961]
UE4Editor_Engine!UChildActorComponent::Serialize() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\Components\ChildActorComponent.cpp:127]
UE4Editor_Engine!UEngine::CopyPropertiesForUnrelatedObjects() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:14329]
UE4Editor_UnrealEd!<lambda_f5799eb5e2a566f27805504d34d93414>::operator()() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:1126]
UE4Editor_UnrealEd!FKismetEditorUtilities::AddComponentsToBlueprint() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:1242]
UE4Editor_UnrealEd!<lambda_ee77cf9719fc942cfb9f8593d710ffcd>::operator()() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:1756]
UE4Editor_UnrealEd!CreateBlueprintFromActors_Internal() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:1574]
UE4Editor_UnrealEd!FKismetEditorUtilities::CreateBlueprintFromActors() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:1778]
UE4Editor_UnrealEd!FKismetEditorUtilities::CreateBlueprintFromActors() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\UnrealEd\Private\Kismet2\Kismet2.cpp:1059]
UE4Editor_KismetWidgets!FCreateBlueprintFromActorDialog::OnCreateBlueprint() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\KismetWidgets\Private\CreateBlueprintFromActorDialog.cpp:846]
UE4Editor_KismetWidgets!FCreateBlueprintFromActorDialog::OpenDialog() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Editor\KismetWidgets\Private\CreateBlueprintFromActorDialog.cpp:787]
UE4Editor_LevelEditor!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:859]
UE4Editor_Slate!FUICommandList::ExecuteAction() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Commands\UICommandList.cpp:102]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SMenuEntryBlock.cpp:1059]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SMenuEntryBlock.cpp:1019]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:298]
UE4Editor_Slate!SButton::ExecuteOnClick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:385]
UE4Editor_Slate!SButton::OnMouseButtonUp() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:304]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\MultiBox\SMenuEntryBlock.cpp:386]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_cc5aea9e7377b04ce85c30c65ec3889b> >() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:372]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4675]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5198]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5166]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2140]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2592]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1816]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:852]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4762]
UE4Editor!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.25
Target Fix4.26
Fix Commit14155319
Main Commit14155319
CreatedAug 12, 2020
ResolvedAug 20, 2020
UpdatedFeb 16, 2021
View Jira Issue