Question on performance

Hi im currently building a Minecraft like chunk loading system with non-Block like shapes, although i currently get 200+ fps, It freezes for a half a second when I try to load in a new chunk.

The reason for this i feel is due to my Mesh combining script that combines all meshes in a chunk before spawning it in, the script takes a second to load in non square meshes and freezes for a half a second.

Is there a way to have it running in the background and not freeze every time i load it in.

  • Thx Dissapoint

Since people have been making “How to make Minecraft in Unity” video tutorials for a decade now, why not start there? If they could make it performant back in 2012, it will be blindingly fast in 2022 hardware.