Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Baking GI, when it is saving progress?

Discussion in 'Global Illumination' started by Gua, Mar 21, 2015.

  1. Gua


    Oct 29, 2012
    I have separate 8 core machine for baking. I've tried to bake GI in a pretty big scene, after couple of days Unity crashed on baking reflection probes stage. I suspect it was out of memory. I was sure that, when I'll start baking again, I'll start from same stage where it was when it crashed. But it started baking from the scratch. It will saves baking results only when it finishes? How can I prevent situations like this?
  2. KEngelstoft


    Unity Technologies

    Aug 13, 2013
    Hi! We save the intermediate files between each stage. I.e. between clustering, direct light, AO, light transport, final gather, etc. If your scene is so large that all the files can't fit in the GI Cache at the same time, the least recently used files are evicted from the cache. Files are removed unless they are still referenced by the active scene.
    You can increase the size of the cache in Preferences -> GI Cache.

    Judging from your bake time, it sounds like you are using to high resolution. In the Lighting window, try using default-VeryLow as the default parameter or decrease the indirect and baked resolution.