Developer Notes

Duplicate of UE-29242

Description

Getting a crash when smoothing out landscape that has foliage painted on it. Seems to happen when I release the mouse.

Steps to Reproduce
  1. Create a landscape
  2. Paint some height to the landscape
  3. Switch to Foliage Mode
  4. Drag a static mesh into the foliage tool
  5. Paint the landscape with foliage around the raised landscape
  6. Switch to the Smooth tool
  7. Smooth out the raised landscape

Result: Crash

Callstack

UE4Editor_Engine!UHierarchicalInstancedStaticMeshComponent::UpdateInstanceTransform() hierarchicalinstancedstaticmesh.cpp:1927
UE4Editor_Landscape!ULandscapeHeightfieldCollisionComponent::SnapFoliageInstances() landscapecollision.cpp:1265
UE4Editor_LandscapeEditor!FHeightmapAccessor<1>::SetData() landscapeedmodetools.h:666
UE4Editor_LandscapeEditor!FLandscapeToolStrokeSmooth<FHeightmapToolTarget>::Apply() landscapeedmodepainttools.cpp:607
UE4Editor_LandscapeEditor!FLandscapeToolBase<FLandscapeToolStrokeSmooth<FHeightmapToolTarget> >::Tick() landscapeedmodetools.h:1335
UE4Editor_LandscapeEditor!FEdModeLandscape::Tick() landscapeedmode.cpp:581
UE4Editor_UnrealEd!FEditorModeTools::Tick() editormodemanager.cpp:607
UE4Editor_UnrealEd!FLevelEditorViewportClient::Tick() leveleditorviewport.cpp:2030
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1414
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:370
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2684
UE4Editor!GuardedMain() launch.cpp:142
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126
UE4Editor!WinMain() launchwindows.cpp:200
UE4Editor!__scrt_common_main_seh() exe_common.inl:264
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - LD & Modeling - Terrain - Landscape
Affects Versions4.114.12
Target Fix4.11.2
Fix Commit2937812
Release Commit2937812
CreatedMar 25, 2016
ResolvedApr 8, 2016
UpdatedApr 27, 2018
View Jira Issue