Unity not responding when light baking with Progressive GPU

This is the settings I use.
I tried multiple scenes with same settings. In some of them, Unity stop responding, and I can’t do anything.

When ever I changed Progressive GPU to CPU it got normal. But obviously it waste more time.
So, I want to fix this.

I tried both small and big scenes. Small scenes has no problems but big scenes does, so I though it’s because of size.
But then I tried same settings with using GPU for another big scene, and it has no problem.
Then, I go back that big scene and it suddently start working with GPU progressive.

I don’t know what’s causing it. How can I fix this and make it consistent?

This sounds very similar to the problem reported over here. A fix for that problem landed in 6000.0.25f1. What version are you on? Maybe you just need to update.

I’m using 2019.4.40 LTS version.

I did try to update 2022 version once, but I got some problems about light baking taking too long with same settings. So, I go back the old version via git.

I see. In 2019.4 the GPU lightmapper was only a preview feature intended for experimental use and therefore it is unfortunately expected that it will have stability issues. This version of the GPU lightmapper no longer receives fixes and hasn’t received any for a while.

This makes it very difficult for me to guess what is the cause of the issues you are seeing.

I hope you will reconsider trying a new version of Unity (I’d recommend Unity 6). A lot of fixes and stability improvements have been made since then.

Should you find that light baking is surprisingly slow on Unity 6, please report it here and I’d be happy to try and help you.

1 Like