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:
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.