guycalledfrank / bakery-issues

Bug tracker for Bakery
4 stars 0 forks source link

batch baking isn't working right #102

Open laurentopia opened 3 years ago

laurentopia commented 3 years ago

solo bake: image batched: image

i did a batch after defaulting setting then saving all the scenes to what i had saved with "save to default"

laurentopia commented 3 years ago

another bug: even with bake reflection probe turned on it doesn't bake the refprobes

guycalledfrank commented 3 years ago

Any way I can reproduce it?

laurentopia commented 3 years ago

I guess you're not getting that? It's always happened in this configuration. unity 2020.1.17 urp 8.31 latest bakery, dunno the version though image

guycalledfrank commented 3 years ago

Did a quick test with the closest setup at hand (Unity 2020.2.7, URP 10.3.2):

Everything worked correctly in my case:

image

So perhaps there is something different about your project. If you can send me any test scenes where I can reproduce this, I'll test them.

laurentopia commented 3 years ago

exporting a single scene is usually difficult in unity after a project gets a certain age, let's try anyway https://we.tl/t-fujyi15VDv

guycalledfrank commented 3 years ago

Testing on 2020.1.14, URP 8.3.1.

Not exactly sure what it was supposed to look like:

image

Added some materials to everything:

image

Baked and got some crap due to low resolution + OptiX5, increased the resolution a bit, switched to OpenImageDenoise, baked and got this:

image

Created another scene. Ran batch bake with your scene. Batch bake bakes the lightmaps, but then fails at light probes, because there are no light probe groups. Additionally it destroys the lightmaps after the attempt?! :) Fixed: https://github.com/guycalledfrank/bakery-csharp/commit/6be82a90350360829f1520ebac7f2840680d9fb0 https://github.com/guycalledfrank/bakery-csharp/commit/b061b8b7eabc63c84c5387c1d1a668fdab00dce7

It does bake the reflection probes though, I can't see any fails

laurentopia commented 3 years ago

weird on the refprobes, alright I'll take the fix :)