Description

The editor crashes when attempting to draw a weight blended texture to the landscape if it hasnt been used on that landscape yet. This crash can be completely avoided if the stone texture is painted somewhere on the landscape already.

This does not occur in //UE4/Release-4.24 cl 11590231 so I am marking this as a regression.

Steps to Reproduce
  1. Open attached project
  2. Select the "SplineActor" actor within the scene
  3. Click "Editor Apply Spline" in the details panel

Result
The editor crashes

Expected
The spline is applied to the landscape and paints the stone texture beneath it.

Callstack
Assertion failed: !TargetProxy->HasLayersContent() || !InCanUseEditingWeightmap || EditingLayerGUID.IsValid() [File:D:/P4Workspaces/UE4Main/Engine/Source/Runtime/Landscape/Private/LandscapeEdit.cpp] [Line: 5373] 



KERNELBASE.dll!UnknownFunction []
UE4Editor-Core.dll!ReportAssert() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1610]
UE4Editor-Core.dll!FWindowsErrorOutputDevice::Serialize() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Core\Private\Windows\WindowsErrorOutputDevice.cpp:78]
UE4Editor-Core.dll!FOutputDevice::LogfImpl() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Core\Private\Misc\OutputDevice.cpp:61]
UE4Editor-Core.dll!AssertFailedImplV() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:102]
UE4Editor-Core.dll!FDebug::CheckVerifyFailedImpl() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:458]
UE4Editor-Landscape.dll!ULandscapeComponent::ReallocateWeightmaps() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Landscape\Private\LandscapeEdit.cpp:5373]
UE4Editor-Landscape.dll!FLandscapeEditDataInterface::SetAlphaData() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Landscape\Private\LandscapeEditInterface.cpp:2881]
UE4Editor-Landscape.dll!RasterizeSegmentAlpha() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Landscape\Private\LandscapeSplineRaster.cpp:548]
UE4Editor-Landscape.dll!LandscapeSplineRaster::RasterizeSegmentPoints() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Landscape\Private\LandscapeSplineRaster.cpp:867]
UE4Editor-Landscape.dll!ALandscapeProxy::EditorApplySpline() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Landscape\Private\LandscapeBlueprintSupport.cpp:27]
UE4Editor-Landscape.dll!ALandscapeProxy::execEditorApplySpline() [D:\P4Workspaces\UE4Main\Engine\Intermediate\Build\Win64\UE4Editor\Inc\Landscape\LandscapeProxy.gen.cpp:814]
UE4Editor-CoreUObject.dll!UFunction::Invoke() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5565]
UE4Editor-CoreUObject.dll!UObject::CallFunction() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:990]
UE4Editor-CoreUObject.dll!UObject::ProcessContextOpcode() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:2863]
UE4Editor-CoreUObject.dll!ProcessLocalScriptFunction() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1060]
UE4Editor-CoreUObject.dll!ProcessScriptFunction<void (__cdecl*)(UObject *,FFrame &,void *)>() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:891]
UE4Editor-CoreUObject.dll!ProcessLocalFunction() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1121]
UE4Editor-CoreUObject.dll!ProcessLocalScriptFunction() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1060]
UE4Editor-CoreUObject.dll!UObject::ProcessInternal() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1148]
UE4Editor-CoreUObject.dll!UFunction::Invoke() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:5565]
UE4Editor-CoreUObject.dll!UObject::ProcessEvent() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp:1985]
UE4Editor-Engine.dll!AActor::ProcessEvent() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Engine\Private\Actor.cpp:863]
UE4Editor-DetailCustomizations.dll!FObjectDetails::OnExecuteCallInEditorFunction() [D:\P4Workspaces\UE4Main\Engine\Source\Editor\DetailCustomizations\Private\ObjectDetails.cpp:235]
UE4Editor-DetailCustomizations.dll!TBaseSPMethodDelegateInstance<0,FObjectDetails,0,FReply __cdecl(void),FDefaultDelegateUserPolicy,TWeakObjectPtr<UFunction,FWeakObjectPtr> >::Execute() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:290]
UE4Editor-Slate.dll!SButton::ExecuteOnClick() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:385]
UE4Editor-Slate.dll!SButton::OnMouseButtonUp() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Slate\Private\Widgets\Input\SButton.cpp:304]
UE4Editor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_cc5aea9e7377b04ce85c30c65ec3889b> >() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:376]
UE4Editor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4803]
UE4Editor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5344]
UE4Editor-Slate.dll!FSlateApplication::OnMouseUp() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5309]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2155]
UE4Editor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2607]
UE4Editor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1023]
UE4Editor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:855]
USER32.dll!UnknownFunction []
USER32.dll!UnknownFunction []
UE4Editor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:130]
UE4Editor.exe!FEngineLoop::Tick() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4746]
UE4Editor.exe!GuardedMain() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Launch\Private\Launch.cpp:169]
UE4Editor.exe!GuardedMainWrapper() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor.exe!WinMain() [D:\P4Workspaces\UE4Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor.exe!__scrt_common_main_seh() [D:\agent\_work\9\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.254.26
Target Fix4.26
Fix Commit14310169
Release Commit14310169
CreatedSep 9, 2020
ResolvedSep 14, 2020
UpdatedApr 28, 2021
View Jira Issue