I have created a hex map that is procedurally generated using construction script and I am experiencing issues with lag when I have generated maps with more than 200-400 static meshes. It both takes several minutes to generate and then also lags my system pretty hard when trying to view it in the components view.
My initial generation is a map with 20x10 hexes, which works just fine. The problem becomes when I go 40x20 or 100x50 hexes. The game basically lags out either immediately after increasing the variable, or when I click the components tab to view the generation.
All the hexes are blank static meshes with dimensions of 115x100x0.
Size of the hexes doesn’t seem to change anything.
I turned off collision and overlap with no effect.
My computer is fairly decent with an i7, SSDs, GTX 550, 12GB ram, etc.
Anyone have an idea?