How does terrain work in subnautica

Subnautica made on unity, but apparently uses its own terrain. It is not built on a height map, because it may have “ceilings” and different caves. And it can be dynamically changed in the game. How does their terrain work? The only thing that comes to mind is the creation of a huge mesh that, when changed, will re-triangulates, but this would cause a lot of lags, so it works differently

It’s a voxel-based system that smooths with dual contouring. It does retriangulate when updated but only the chunk(s) that were changed so It doesn’t cause too much lag.,It’s a voxel-based terrain system that has dual contouring to smooth it out.