Search Unity

Umbra appears to have a memory limit, imposed by Undo

Discussion in 'Editor & General Support' started by cowtrix, Aug 17, 2015.

  1. cowtrix

    cowtrix

    Joined:
    Oct 23, 2012
    Posts:
    322
    Hey guys. When baking occlusion culling for a Very Large Scene, I'm getting the error:

    Code (csharp):
    1. Failed to create Object Undo, because the action is too large. Clearing undo buffer
    at the end of the baking process, and baking does not succeed. I'm confused why Unity would make the Umbra baking process fail here, but that's what seems to be happening. Considering this response, I'm not too hopeful, but has anyone found a solution to this issue? Or could we get this fixed, or the memory limit on Undo configurable?
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,336
    That's a bug for sure. Send a bug report!
     
  3. cowtrix

    cowtrix

    Joined:
    Oct 23, 2012
    Posts:
    322
    Hey guys - found a workaround! It seems that it was the terrain causing the issue. Simplifying the terrain splat map (changing the res to something much smaller) during occlusion bakes solved this issue.