Closed darthdeus closed 3 years ago
there was another person reporting the same exact thing in Discord yesterday.
It was me (Waidz), but user Kjarudi|Jan reported it too.
I didn't find any kind of trigger to this isssue, deleting previous baking data and bakery cache doesn't seem to necessary fix it either.
Sometimes restarting Unity fix it but it is very random and might need multiples restarts
I'm aware of this issue but wasn't able to find the root cause yet. Usually it goes away simply if you render again (you can fix the window by right-clicking any script, e.g. ftRenderLightmap.cs -> Reimport). Will notify when a reliable fix is found.
@guycalledfrank Seems to be fixed, I haven't had the error since :) Leaving it up to you if you want to close this
Though this is closed, I'm commenting on it due to a sort of similar issue. I seem to get stuck on 55% "Exporting Scene - shaded surface colors...", and if I hit Cancel, the window just comes back up again, until I force quit Unity.
Do you possibly have just way too many lightmaps? Try enabling Checker Preview - it will print future lightmap count to console, and you can also look through their layouts in Atlas Preview before baking. If there are hundreds lightmaps... could explain it
Yes, there are hundreds. Thousands, even. I'm not the original developer, just making an optimised port of the game, their scenes have a lot of separate meshes and it would take a very long time to combine them. Is there any workaround?
Ah! That's very useful. I had missed that part of the Troubleshooting. Thank you.
Sometimes (recently basically all the time) Bakery fails with the following error when baking a lightmap, the progress gets stuck, and closing the progress window also doesn't work. When I click on "Cancel" it instantly re-opens, and the only way to get rid of the error is to restart Unity.
Also just as a note, I don't think this is related only to my project, since there was another person reporting the same exact thing in Discord yesterday.
The error stacktrace
progress
console
Bakery settings