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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Can i generate a new Snaphot without a 3 day bake of everything again?

Discussion in 'Global Illumination' started by Sputnik_Spatziba, May 6, 2015.

  1. Sputnik_Spatziba

    Sputnik_Spatziba

    Joined:
    May 6, 2015
    Posts:
    4
    Hi,
    At the end of my 3 day bake Unity crashes every time at '0/3 reflection probes | 1jobs' with the "fatal error could not allocate memory, system out of memory." error.
    Since it has spent 3 days generated LightMaps and i have a folder with 500mgb of lightmaps, can i somehow create a LightMapSnapshot separably, or am i doomed to never be able to create lightmaps for my project because Unity crashes?
    It really sucks to not be able to "bake selected", now its all-or-nothing, which usually turns to nothing.
     
  2. Nikolai-Trusov

    Nikolai-Trusov

    Joined:
    Feb 16, 2015
    Posts:
    4
    The least you can do is to submit a bug report via Help > 'Report a bug...' top menu with your project opened and provide as much description to the issue as possible for Dev to be able to reproduce it.

    As for helping your problem - consider splitting your scene into smaller ones.
    For reflection probes - try reducing reflection probes resolution, reflection probes count, reflection bounces count.

    Or... Unity uses incremental bake method. That is it tries to bake only things that were changed. So you can try disabling all reflection probes in you scene and then bake it. It'll create only lightmaps. Then enable the probes and start bake process again. This time it should leave the existing lightmaps and start baking the probes only.