Corrupted lightmap

I opened up Unity earlier and found that the lightmapping process was taking much longer than usual. After finishing, the terrain lightmap has black splotches all over it.

To give an example of what i mean, here’s a picture of the terrain:
[50975-capture-wat.jpg*|50975]

This has never happened before and I have no idea what would have caused it… Restarting Unity didn’t fix the problem. I also am getting new errors in the console, they seem to be related.

numChunksInX * numChunksInY == numChunks
numChunksInX * numChunksInY == numInstances
terrainInstanceHashes.find (instances*.instanceID) != terrainInstanceHashes.end ()*

terrainInstanceHashes.find (it->instanceID) != terrainInstanceHashes.end ()
It seems that only this scene is affected. If I open a different scene and then switch back, the terrain appears normal for a brief second before returning to this state. This corruption also appears when I build it. What should I do? I will try any suggestions you can give.
*

It just happened to me several minutes ago. I left the scene untouched while I was searching for the answer and when I switched back to unity, the terrain is 100% fine already. The black splotches are gone and the error which is the same as yours are also gone after I run the game. I think you need to wait for a longer time if the terrain is more complex. Hope this helps.