Description

When trying to delete an existing (and saved) mesh instance from a Hierarchical Instanced Static Mesh component the Editor crashes due to a failed assertion, however clearing all instances does not result in a crash.

Steps to Reproduce
  1. Create a new Actor Blueprint
  2. Add a HierarchicalInstancedStaticMesh component
  3. Select a static mesh for the HISM
  4. Add some Instances
  5. Compile and save the Blueprint
  6. Attempt to delete some of the Instances by using the drop down arrow next to them.

Results: The Editor will crash upon attempting to delete the Instances.

Expected: The Instance to be deleted without crashing the Editor.

Callstack

Assertion failed: (void*)((&ElementData[InstanceIndex]) + 1) <= (void*)(InstanceOriginDataPtr + CurrentSize) [Link Removed] [Line: 1233]

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:417]
UE4Editor_Engine!UInstancedStaticMeshComponent::BuildRenderData() [d:\build\++ue4\sync\engine\source\runtime\engine\private\instancedstaticmesh.cpp:1170]
UE4Editor_Engine!UInstancedStaticMeshComponent::InitPerInstanceRenderData() [d:\build\++ue4\sync\engine\source\runtime\engine\private\instancedstaticmesh.cpp:2178]
UE4Editor_Engine!UHierarchicalInstancedStaticMeshComponent::OnPostLoadPerInstanceData() [d:\build\++ue4\sync\engine\source\runtime\engine\private\hierarchicalinstancedstaticmesh.cpp:2879]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1031]
UE4Editor_CoreUObject!StaticDuplicateObjectEx() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2149]
UE4Editor_CoreUObject!StaticDuplicateObject() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2002]
UE4Editor_Engine!AActor::CreateComponentFromTemplate() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actorconstruction.cpp:953]
UE4Editor_Engine!USCS_Node::ExecuteNodeOnActor() [d:\build\++ue4\sync\engine\source\runtime\engine\private\scs_node.cpp:99]
UE4Editor_Engine!USCS_Node::ExecuteNodeOnActor() [d:\build\++ue4\sync\engine\source\runtime\engine\private\scs_node.cpp:194]
UE4Editor_Engine!USimpleConstructionScript::ExecuteScriptOnActor() [d:\build\++ue4\sync\engine\source\runtime\engine\private\simpleconstructionscript.cpp:613]
UE4Editor_Engine!AActor::ExecuteConstruction() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actorconstruction.cpp:725]
UE4Editor_Engine!AActor::RerunConstructionScripts() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actorconstruction.cpp:494]
UE4Editor_Engine!UActorComponent::ConsolidatedPostEditChange() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:661]
UE4Editor_Engine!USceneComponent::PostEditChangeProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\scenecomponent.cpp:510]
UE4Editor_Engine!UPrimitiveComponent::PostEditChangeProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\primitivecomponent.cpp:911]
UE4Editor_CoreUObject!UObject::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:445]
UE4Editor_Engine!UActorComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:699]
UE4Editor_Engine!UPrimitiveComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\primitivecomponent.cpp:1045]
UE4Editor_Engine!UMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\meshcomponent.cpp:113]
UE4Editor_Engine!UInstancedStaticMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\instancedstaticmesh.cpp:2363]
UE4Editor_Engine!UHierarchicalInstancedStaticMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\hierarchicalinstancedstaticmesh.cpp:1892]
UE4Editor_CoreUObject!UObject::PropagatePostEditChange() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:519]
UE4Editor_CoreUObject!UObject::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:412]
UE4Editor_Engine!UActorComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:699]
UE4Editor_Engine!UPrimitiveComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\primitivecomponent.cpp:1045]
UE4Editor_Engine!UMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\meshcomponent.cpp:113]
UE4Editor_Engine!UInstancedStaticMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\instancedstaticmesh.cpp:2363]
UE4Editor_Engine!UHierarchicalInstancedStaticMeshComponent::PostEditChangeChainProperty() [d:\build\++ue4\sync\engine\source\runtime\engine\private\hierarchicalinstancedstaticmesh.cpp:1892]
UE4Editor_PropertyEditor!FPropertyNode::NotifyPostChange() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertynode.cpp:2122]
UE4Editor_PropertyEditor!FPropertyValueImpl::DeleteChild() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:1536]
UE4Editor_PropertyEditor!FPropertyHandleArray::DeleteItem() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\propertyhandleimpl.cpp:4298]
UE4Editor_PropertyEditor!FPropertyEditor::OnDeleteItem() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\presentation\propertyeditor\propertyeditor.cpp:312]
UE4Editor_PropertyEditor!TBaseSPMethodDelegateInstance<0,FPropertyEditor,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:355]
UE4Editor_PropertyEditor!SDetailsViewBase::Tick() [d:\build\++ue4\sync\engine\source\editor\propertyeditor\private\sdetailsviewbase.cpp:702]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1003]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_Slate!SBox::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\sbox.cpp:306]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_Slate!SBorder::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\sborder.cpp:87]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_Slate!SBorder::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\sborder.cpp:87]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:95]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:164]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:95]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_Slate!SBorder::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\sborder.cpp:87]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:95]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_Slate!SSplitter::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\layout\ssplitter.cpp:164]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:95]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SPanel::PaintArrangedChildren() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:31]
UE4Editor_SlateCore!SPanel::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\spanel.cpp:12]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SOverlay::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\soverlay.cpp:95]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_SlateCore!SCompoundWidget::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\scompoundwidget.cpp:35]
UE4Editor_SlateCore!SWindow::OnPaint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swindow.cpp:1927]
UE4Editor_SlateCore!SWidget::Paint() [d:\build\++ue4\sync\engine\source\runtime\slatecore\private\widgets\swidget.cpp:1037]
UE4Editor_Slate!FSlateApplication::DrawWindowAndChildren() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1322]
UE4Editor_Slate!FSlateApplication::PrivateDrawWindows() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1577]
UE4Editor_Slate!FSlateApplication::DrawWindows() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1279]
UE4Editor_Slate!FSlateApplication::TickApplication() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1862]
UE4Editor_Slate!FSlateApplication::Tick() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:1693]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3799]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

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

4
Login to Vote

Fixed
Fix Commit6189601
Main Commit6189601
CreatedApr 24, 2019
ResolvedMay 1, 2019
UpdatedMay 14, 2019
View Jira Issue