This appears to be a bug with an Instanced Static Mesh Components. They’ll crash the editor if you interact with them in the Components view assuming they have a mesh and an instance in them, if they are empty, you can still move the component.
As an aside, do you have any advice for a better way to create the map tiles? It seems the procedurally generated map using instancedstaticmeshcomponents acts as 1 single entity even though I intend each tile to be individually interactive.
It seems I could find a better way to generate the map, or I could continue using the current method and work in layers on top of the map that gets the job done…
I would but my blueprint has undergone some drastic changes and is quite spread out. I will try to provide better screenshots in the future. Thanks!
So what I ended up doing, is creating a number of collision only actors (boxes in my case), and spawning them in the same location as the tiles.
Static Mesh Actors that render are heavy and take forever to generate, but if they don’t render they actually generate pretty quickly and don’t impact performance much.
You should see about creating a hex only collision surface and spawning them along side your instanced static mesh hexes. Then you’d have a data object for the hex and collision for stuff to trace against or sit on.
So use my hex tiles as the visual representations of the terrain, and then spawn invisible collision hexes that act as my interface with the tile for units and cities and also to carry terrain stats like food and production?