Bug Replication:
- Make an Array of Static Meshes
- Create a Function and call it from the Construction Script
- Inside the Function create a For Each Loop base on the Static Mesh Array
- Add Static Mesh Component based on the Array of Meshes
Result: The Construction script will spawn only the 1st Static Mesh of the array and the for each loop will be interrupted
Workaround: If you don’t place the for each loop inside the function but do the same directly in the construction script blueprint it will work perfectly and all the meshes from the array will be spawned