Crash when adding an instance with Instanced Static Mesh in 4.17.2

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