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?
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:
Your dxdiag (Windows Start Button>(search “dxdiag”)>Launch dxdiag>select “Save all information”>attach text file to your post.)
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.
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.
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
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.)
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.