Developer Notes

Duplicate of UE-28791

Description

A licensee is reporting a crash when he transforms/moves a single instance of foliage, when there are 15,000 or more painted instances of that mesh in a single map.

Regression
Yes, I tested the same steps and the crash does not occur in 4.10.4.

Steps to Reproduce

1. Open attached project.
2. Select the Foliage tool within the Modes tab.
3. Select a single foliage instance of 'EditorCube' using the 'Select' tool.
4. Transform/Move the selected instance in any direction.

Outcome Crash occurs when moving the selected foliage instance.

Expected No crash occurs, and you can freely transform the selected instance(s).

Callstack

UE4Editor_Engine!UHierarchicalInstancedStaticMeshComponent::UpdateInstanceTransform() hierarchicalinstancedstaticmesh.cpp:1925
UE4Editor_Foliage!FFoliageMeshInfo::PostUpdateInstances() instancedfoliage.cpp:1028
UE4Editor_FoliageEdit!FEdModeFoliage::TransformSelectedInstances() foliageedmode.cpp:1293
UE4Editor_FoliageEdit!FEdModeFoliage::InputDelta() foliageedmode.cpp:3041
UE4Editor_UnrealEd!FEditorModeTools::InputDelta() editormodemanager.cpp:618
UE4Editor_UnrealEd!FEditorViewportClient::InputWidgetDelta() editorviewportclient.cpp:2851
UE4Editor_UnrealEd!FLevelEditorViewportClient::InputWidgetDelta() leveleditorviewport.cpp:2281
UE4Editor_UnrealEd!FEditorViewportClient::UpdateMouseDelta() editorviewportclient.cpp:1820
UE4Editor_UnrealEd!FEditorViewportClient::Tick() editorviewportclient.cpp:960
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:2643
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-29242 in the post.

0
Login to Vote

Duplicate
CreatedApr 8, 2016
ResolvedApr 11, 2016
UpdatedJul 14, 2021