guycalledfrank / bakery-issues

Bug tracker for Bakery
4 stars 0 forks source link

Baked lighting keeps bugging after reloading the level #16

Open jtarczykowski opened 4 years ago

jtarczykowski commented 4 years ago

Screenshot_2

Baking seems to work fine, but after reloading the scene something breaks and we get bugs like on the screenshot. We are using multi-scene setup (using Advanced Multi-Scene asset from Asset Store, it might be of importance)

guycalledfrank commented 4 years ago

it might be of importance

Possibly. I don't know how this plugin works. Does reloading happen on the same PC you baked it? I recommend checking if it works without the plugin.

jtarczykowski commented 3 years ago

So it seems it's not related to the plugin, but I've found that people had the same issue with regular Unity lightmaps and it might have something to do with settings on lightmap files. Do you know what settings should lightmap textures have in Unity to avoid any artifacts?

guycalledfrank commented 3 years ago

I doubt that it has anything to do with texture settings (you'd probably get something super dark or bright overall if it was the case). Are you reloading in editor or in a build? If it happens in a build, try disabling "optimize mesh data" and "shader stripping" in player settings. If it happens in editor, I have no idea. If you can pack a small project where it happens and send it to me, I'll debug.