Tiled Terrain Edge Problem

I’m having big troubles with terrain tiles exported from WorldMachine2.
When aligning them in Unity, terrain tiles show an edge… see the image below.
I tried to disable “Share edge Vertices” in WM2, but it produced worst results (terrain tiles did not match anymore).
Anyone ever got the same problem?

I found that I had to export tiles of size 2^n + 1, WorldMachine was not doing it.
Now tiles faces match with no seams, but normals hae discontinuties.
Terrain.SetNeighbors does not solve this problem…

I

Found the solution by myself…
just call Terrain.SetNeighbors() with and Terrain.Flush() in some script Startup.

As I said before, I found the solution to both problems by myself… just call Terrain.SetNeighbors() and Terrain.Flush() in some script Startup.