Iterative GI takes 24+ hours. Stuck on Clustering.

I have had the Iterative GI on for 24+ hours and I have restarted it a coule of times, but it seems to get stuck on the clustering stage. I have lowered the scale and the resolution for the GI, but it is still not working. Is there any other technique that I am missing?

1867005--119893--b1.JPG
1867005--119894--b2.JPG
1867005--119895--b3.JPG
1867005--119896--b4.JPG

1 Like

are you using android build?

No, just PC

have you reported the the bug within Unity?

If not then please do so they can take a closer look at it

Not sure if it is a bug. I’ve already reported it though. I just cleared out 60 gigs worth of cache

Thanks for reporting it, what is it bug number?

Same problem here and I’m also stuck on 5/11 of clustering.

I just sent a bug report. (Case 654605)

1 Like

I am also constantly getting stuck at 5/11 clustering. Force quitting Unity is the only way to fix it and even that rarely works.

1 Like

Hey guys, figured this out. It looks like lightmapping terrain causes Enlighten to freeze. Changing the terrain to non-static solved this for me.

1 Like

Well Ideally you want to be able to lightmap anything in your scene.

1 Like

It would be ideal if we could choose where this cache goes.
The amount of cache going on C:\ is not reasonable if we’re running an SSD.

Also, a memory limit would do wonders; I ran a build on a PC with 32gb of ram and the PC slowed to a crawl because it was 98% allocated to “JobProcess.exe”.

1 Like

@Brenden-Frank You can choose where it goes :slight_smile: Check the Preferences → GI Cache → Custom Cache Location checkbox.

Also, please try setting a lower resolution for your terrain in the Lighting → Object tab; Select the Default-VeryLowResolution or make a custom LightmapParamters with even lower resolution.

No terrain in my scene. :-/

1 Like

I can also confirm the “5/11 Clustering” issue and I am not using a terrain. Even starting a new scene with primitive geometry now hangs at 5/11.

1 Like

There is something weird with 5/11 clustering (note to devs: What is it exactly? I mean that specific 5/11 phase).

I have a scene, it bakes to completion at a pretty decent speed at Res: 3 (say 5-10 minutes?). Bumping res up to 4, makes it get stuck at 5/11 clustering for at least an hour (I usually give up after that). That’s with beta 18.

Can we check the log ourselves to see what the error might be? Or are they not verbose enough?

Clustering (stage 5 out of 11) is the stage where Enlighten builds it’s own representation of the scene made out of small patches (typically twice bigger than the output relatime lightmap texel). This is a complex stage and it is expected to take some time, but without seeing the UV charts view of your scenes and the clustering parameters, if non-default, then it’s hard to reason about it.

Progress reporting for the clustering stage will be improved fairly soon. To investigate Enlighten appearing to get stuck in that stage we need repro cases. So please provide us with scenes where you see the issue via Help > Report a Bug. Thanks!

1 Like

I have this issue right now with 5.x. Can’t build at all. Submitted a bug. o.O

1 Like

Hm, I just managed to build it but it took a long time.

This “lightmapping” thing, is it needed in 5.x? Doesn’t it have real time lighting? Can I remove the mapping and only real time? How?

Sure - just turn shadows on on your light, and then set the shadow distance to whatever you want it to be in your quality settings.