[Bug] Editor crashes when actor with InstancedStaticMesh (with a lot of instances) is double-clicked

Problem: When a blueprint class with InstancedStaticMesh component is double-clicked, the editor tries to select the component and generate a property window for it. Since each mesh instance is a row in “Instances” array, UE tries to generate Slate controls for EACH of them, which leads to “out of memory” error and process termination.

Repro steps:

  1. Download attached test project;

  2. Double-click the line of cubes;

  3. Experience a severe freeze, followed by a crash. I guess the crash may not happen if your development machine has a ton of RAM, but my 16 GBs are insufficient.

Notes: The function to look at is FDetailPropertyRow::GenerateChildrenForPropertyNode(…) from DetailPropertyRow.cpp. Perhaps the solution is to limit the number of shown children for property row to, say, 1000? Who is going to edit 1000 items manually anyway?

You have to submit this bug through the bug submission form here:

Oh. Sure, but the “bug reports” section still exists in answer hub, so I assumed this method still works.

I guess they still keep it so they can use it to tell the people posting here to use the new bug submission form! :wink: