Terrain splitter
GDScript
A lightweight Godot 4 editor add-on that takes a single, massive MeshInstance3D and seamlessly slices it into a grid of smaller, optimized chunks directly within the editor. How to use: Select any MeshInstance3D node in your scene tree. Look at the top of your 3D Viewport (next to the Translate/Rotate/Scale tools) and click the new Split Terrain button. A menu will pop up. Enter the number of chunks you want for the X and Z axes. Check Make static bodies if you want collision shapes generated for the chunks (highly recommended for walkable terrain). Click OK. The addon will calculate the bounds, slice the triangles, re-index the vertices to save memory, and spawn the new chunks as children of your original mesh.
Get it → github.com