Error: 'Failed writing Precomp Packed Geometry file.'

Hello Everyone,

Unity throws the below errors when I open a scene with a height map created terrain.

  • Error: ‘Failed writing Precomp Packed
    Geometry file.’ - Mesh:
    ‘Moon_Terrain’
  • Failed writing to:
    ‘C:/Users/user_name_here/AppData/LocalLow/Unity/Caches/GiCache/e5/e5bfca3fe2b1020d16e7b928c436d9d6.ppg.tmp’.

The status in the lower right side of Unity displays “0/11 Create Geometry | 1 jobs” with no progress.

The terrain is 100W 100L 10h with a 4096 (actually 4097) height map.
There is no details nor texture applied to the terrain.
The terrain is rather irregular as the height map was taken from the moon.

System Info:

Unity 5.1.0.f3 Personal (64-bit)

Windows 8.1 Pro (64-Bit) 16 GB Ram 500 GB SSD

I was unable to find any other post with a similar issue. If I missed them, please direct me to those posts.

Otherwise, I am open to suggestions on how to fix or work around this issue. I have already manually deleted cache, library, temp, etc… files but to no avail.

Thank you!

So at least for me (5.5.0f3) the issue seemed to be the fact that I reduced Realtime Resolution for Precomputed Realtime GI to 0.1 or even lower. The default value of 2 or even just 0.2 instead of 0.1 builds just fine (see this forum post).