[Bug Report] Duplicate actor with HierarchicalInstancedStaticMeshComponent or move the actor to another level will crash the editor

UE version: 4.14 Preview3

Steps to reproduce the bug (Duplication actor)

  1. Drag an Empty Actor into the level
  2. Add a HierarchicalInstancedStaticMesh component to the actor through Details panel; Assign a Static Mesh; Add one instance
  3. Make sure the actor is selected, click “Edit->Duplicate” menu, Unreal Editor crashed

Steps to reproduce the bug (Move actor to another level)

  1. Drag an Empty Actor into the master
  2. Add a HierarchicalInstancedStaticMesh component to the actor through Details panel; Assign a Static Mesh; Add one instance
  3. Make sure the actor is selected, in Levels window, right click another level name, select “Move Selected Actors to Level”
  4. Try moving the actor with transform widget, Unreal Editor crashed

Possible fix:

It seems internal ClusterTree not been serialized correctly in the actor copy/paste process. One possible fix is to make sure HierarchicalInstancedStaticMeshComponent::BuildTree() been called after actor with HierarchicalInstancedStaticMeshComponent been pasted in to the level.

Hello

Thank you for your report and your very accurate steps. I have reproduced this issue and logged a report for it here UE-38585. You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.