A Unity plugin that automatically places BoxColliders on the boundaries of the terrain
Getting Started: Create an Editor folder in the Assets directory and place this script file inside. You should be able to find the plugin in the Window menu in Unity.
The long side of the BoxCollider is the TerrainSize, and the short side is the Thickness.