Crash when adding an instance with Instanced Static Mesh in 4.17.2

Crash occurs when adding an instance with Instanced Static Mesh in 4.17.2.

Reproduce with the following procedure.

1.Create a new project in 4.17.2. Select an empty project.

2.Place empty actors at the level.

3.Add “Instanced Static Mesh Component” to the empty actor.

4.Set a static mesh in “Instanced Static Mesh Component”.

5.Add an element with the element addition button of “Instances”.

6.The editor crashed.

This problem did not occur in 4.17.1.

Could this be related to the issue I had? Crash in 4.17.2 with instanced static meshes (Unknown RHI vertex element type 0) - Asset Creation - Unreal Engine Forums ?

I think that this is the same problem. I modified the engine from the code in the link and confirmed that it works well. I try to “Pull Request” this code to GitHub.

Hi alwei,

I was able to reproduce this issue in 4.17.2, however upon further testing it appears that the issue is resolved in an internal build. I hope this clarifies everything. If there is anything else that I can help you with please let me know.

Best Regards

I “Pull Request” the code to solve this problem to GitHub.
I hope this code helps something, but if you have solved it already inside the engine, please release the fix as soon as possible.

https://github.com/EpicGames/UnrealEngine/pull/4053