For some reason, the terrain has to be done with the terrain system that comes with Unity, but there will be a lot of invalid grid problems, how to avoid it?

For some reason, the terrain has to be done with the terrain system that comes with Unity, but there will be a lot of invalid grid problems, how to avoid it?