- Home /
Can't bake scene
After some hours of baking I got message "Could not allocate memory". I have ~20 light sources. How can I solve it?
I can see that some light sources are baked successfully. Should I delete them and repeat trying?
Here is my settings:
Could it be that your level is quiet complex? Not seen much projects that need 95 Light-maps. How much memo do you have and how much hard-drive space on your system drive and your unity project folder?
I don't know, whick settings I need, it is my first time, when I bake big scene. I have 60GB free space on the hard drive and 4GB memory. Yes, level is pretty complex. $$anonymous$$y project takes 3.2GB with all downloaded assets, but buit takes only 563$$anonymous$$b. It is strang, because yesterday it was 150$$anonymous$$b...
Answer by SAOTA · Mar 20, 2015 at 11:26 AM
Clear GI Cache in edit -> preferences.
Then, Copy all your objects in your hierarchy into a new scene and bake again.
This solved some major GI issues for me.
What is GI cache? And can I bake my scene in some steps? In the 1st step enable only half of my light sources and bake them. And in the 2nd enable other and bake them?