Editor crashes when duplicating instanced static mesh blueprint

I have a series of modular blueprints that are used for building levels, you can see in the video link below.

This is all working well, however, if I try to duplicate one of the blueprints then the editor will often crash. This usually happens when there are more than 500 instanced static meshes in the blueprint.

I think it has something to do with the construction script because if I disconnect the node from the CS then it will not crash. However, I would prefer to keep the construction script connected because it will make building levels a lot easier.

Has anyone had a similar problem or know a way around the issue?

Hey DaveHall17,

We were not able to recreate this crash with a blueprint duplicating instances of a cube static mesh, however, the engine caused the system to run really slow as it drained resources to build around 500 instances of the static mesh. With that in mind, you may be running into an out of memory error.

In order to verify this, or to see if it is something else, please provide as many of the following as possible:

  1. Your dxdiag (Windows Start Button>(search “dxdiag”)>Launch dxdiag>select “Save all information”>attach text file to your post.)
  2. If the Crash Reporter window is present when the crash occurs, select “Copy Callstack to the Clipboard,” and paste that information in a document and add to this post. Be sure to hit “Submit” on the Crash Reporter pop-up to send the Crash Report to Epic.
  3. “UE4.log” Located: Engine\Saved\Logs\
  4. “ProjectName.log” Located: ProjectName\Saved\Logs\

Thanks,

.

Hi

Most of what was requested can be found in this folder.

https://www.dropbox.com/sh/b89ay3fm8ad43tt/AAAoRKJw2LhDBdgBpAT8F1VXa?dl=0

The crash reporter did not give me the option to “Copy CallStack to the clipboard”

I could not find the UE4.log either.

The blueprint uses instanced static meshes instead of static mesh components

It is very temperamental, sometimes I can copy a blueprint with 2500 instanced static meshes and sometimes it will crash when it is just 1 instanced static mesh.

It may have something to do with the construction script because if I disconnect the node running from the construction script then it is usually OK.

Hope this helps

Thanks

Your project log reveals a slew of warnings that on their own might not be an issue but compounded by creating multiple instances may cause a crash.

Here are the possible causes that, even if not causing the crash, should be fixed in any event:

Problem:
“uasset… has been saved with empty engine version. The asset will be loaded but may be incompatible”
Solution:
Delete Intermediate and Saved folders

Problem:
“PersistentLevel ModularMeshes Externally referenced”

Solution:
Re-name project folder as described here:

Right-Click Content folder in the Content Browser and select “fix up redirectors in folder”

Problem:
“Warning: Initialising Body : Scale3D is (nearly) zero: Component: VanishingCubes10.Cube Cube”
Solution:
Troubleshooting step: Delete all assets (ie. all “Vanishing Cubes”) with this warning to ensure this is not what is causing the crash.

Be sure to run a map check on all levels to remove issues like these from the list of “suspects” that may be causing the issue. After performing these steps, if you are still experiencing a crash, make sure you are hitting submit on the Crash Reporter window and physically cut and paste the callstack (contents of the window) into a text doc and post here. (hint: text should include your machine ID.)

Hi DaveHall17,

Since we have not heard back from you in a while, we are marking this post “resolved” for tracking purposes. However, if you are still experiencing crashes when duplicating instanced static mesh blueprints then respond and let us know the results of the troubleshooting steps listed above that you’ve tried and we will continue to investigate.

Thanks,

.

The issues is fixed now. It was being caused by print logs in the construction script.

Thanks for posting your resolution.