Please Help... Bake Runtime' job failed with error code: 8 Failed to create Runtime Lighting

A big hello to the community. So i opened my Unity today to continue my project and when Unity started to bake my scene , it gave me this error… Bake Runtime’ job failed with error code: 8 ('Failed to create Runtime Lighting… And its driving me insane… I have posted my Lightning Settings , i know it has something to do with my Baked GI , because when i disable it , this error disappears. I’ve tried rebaking the scene , clear the GI cache but it’s still there… And all the light sources from my scene are baked. Can someone help plz?? :frowning:

http://postimg.org/image/l67mbztgj/

My lightning settings

2 Likes

Ok i finally figured it out … To anyone who has this issue, its due to your GI Cache being full… In my case my GI cache was filled with 9.99GB (10GB is my prefered limt) and when i baked new light sources they wouldnt bake just because the cache was full… In any case to clear the cache go to Edit - Preferences - GI Cache - Clean Cache. I hope this helps guys :slight_smile:

14 Likes

thanks for putting in your resolution! I was stuck and in your comment saved me!

1 Like

You’re most certainly welcome Jose , glad i could help :slight_smile:

Came across this today, this solved my issue. Thanks for posting :slight_smile:

1 Like

Thanks for posting this! just ran across the issue and your solution did it!

1 Like

Awesome, thanks for posting the solution!! Got me back up and running too.

Your solution worked. Thank you very much!

Thanks! That worked for me! So glad you posted this! No idea why there would be no warning. I was unable to clear the cache while Unity was stuck in the error. So thank you for posting solution to clearing the error, as well! I was able to disable long enough to clear cache and now back to normal!

another note, just clearing the GI cache didn’t work but manually deleting the folder that held all the lighting and clearing the cache fixed the problem

Came across this today,thank you for you solution:)

FYI I am working on a proper fix for this so files aren’t deleted if they are in use. It is case 1047087 if you want to track it…

Hey, we ran into this issue again today, and did everything described, cleared the GI Cache, deleted the scene’s lightmapping data folder, but the issue is still happening! Any update on that proper fix you were working on?

EDIT: Resolved by upgrading from Unity 5.6.2 to latest patch release 5.6.5p4

The fix landed in 2019.1.0a13.

1 Like

I’m using 2017.4.24f and this fix is still relevant. It fixed the issue for me. Thanks for solution!

Could someone explain what the GI Cache folder does? I’m on 2018.4.1 and have possibly hit this same issue… unlike the OP I’ve not run out of space (my limit is 10GB and I’m only at 5.6GB) but I do have the error.
Does deleting the folder, or clearing from preferences, affect all other projects?