This is a minimal project with an editor script that generates a terrain object and adds some structure to it to show how to change the terrain. The script is called via the menu GameObject > 3D ...
This is a quick proof of concept of doing a terrain backup and allowing the restore to be painted back as required. terrain_paint_restore.mp4 It backups trees, details, textures and heights. Prefabs ...