When i try to build the lightmaps in one scene it always get stuck at 12/15 Bake Indirect with 8-10 jobs left. I’ve waited hours and nothing happend. And it’s not a very big scene. I tried to set GI to Default-VeryLowResolution and tested it on different pcs and it was always got stuck on Bake Indirect. And when i close unity while still stuck on Bake Indirect unity crashes.
Hi! Can you please post a screenshot of your Lighting window and your scene showing in the Editor scene view mode called Baked?
Does it finish baking if you lower the Realtime GI resolution?
BTW. Your default parameters are still at Default, not Default-VeryLowResolution.
I had the default parameters to Default-VeryLowResolution, but there was no effect and so i switched back.
When i lower the Realtime GI resolution the number of jobs left on Bake Indirect decrease, but it is still does not finish Bake Indirect.
The only way i was able to create the lightmaps was to set Baked Resolution to <= 1.2.
The resolution in your scene looks very high, it would be good to start by setting the Default-VeryLowResolution as the default parameter in the scene tab. Then lower the Precomputed Realtime GI and Baked GI Resolution all the way down, and work up from there.
In similar scenes it takes a few minutes to bake the lightmaps, but in this one particular scene i can wait hours and it’s still not done. Only when i set the Precomputed Realtime GI or GI Resolution extremly low baking will finish. There is a certain threshold and when i set the value to something just a very little bit bigger than that it will not bake the lightmaps.
For example here are my current lightning settings:
With this settings it takes less than 2 minutes to bake. But when i increase the Precomputed Realtime GI to 0.2 after more than 2 hours it is still at 12/15 Bake Indirect. It even works when i set Precomputed Realtime GI to 0.199, but not with 0.2. This seems weird to me
That does sound super weird! Please file a bug report with you project, so we can investigate. Thanks!
Case number is 685394
just curious, but what are the largest scales of your game objects? I am having the same issue as you if the scale of one of my game objects is over 10x10x10. Reducing the scales to lower than 10x10x10 caused my bake to pass, otherwise it got hung up at one of the steps.
I am having a similar issue, but mine hangs even in a tiny scene with just 3 objects and one directional light. It was working fine earlier in beta
The issue of baking getting stuck on “Bake Indirect” has been found and fixed. The fix will be introduced in 5.2b4. Thanks for your reproducers & patience.
Cheers,
Jesper
did anyone find a good work around in the mean time? Gotta bake some lightmaps!
Yeah the solution is to break your scene into 5 sections and lightbake 1 section at a time. This gradually fills the cache. Then see which section(s) fail. I broke the scene into multiple bake tags, so the entire scene is not on one lightmap.I would love to know who are the people that are able to lightbake their entire scene at one time successfully.
Hey, cool! Is there an ETA for this release?
No ETA yet, but we are getting closer.
Same issue here! I’m stuck
Please do it faster
Hi,
I am also facing the same issue. My half scene is baked, now if i try to bake any single object in my scene (project), it always stuck at 12/15 Bake Indirect at 1 jobs. Currently I’m using the unity 5.0.0f4. How much time I have to wait for 5.2b4. Until then what can I do to resolve this issue. My project is already delayed because of baking issue.
Hi Jesper,
Thanks for the information. Please suggest me another way to overcome with this issue as this has become bottle neck for my project.
Can’t you guys just come up with a service pack to resolve this problem for Unity 5.0.
Many thanks in advance.
5.2 has been out for a while now, you should use the latest version available here Start Your Creative Projects and Download the Unity Hub | Unity