we’re baking lightmaps with pretty normal settings. We bake some scenes in batches of 2 (those that should have the same “mood”). The final bake looks alright on the source computer but after versioning all affected files into our source control (GIT), some objects look broken on other computers.
As you can see on the image below, the models are mapped to the wrong places on the lightmap texture. We checked all the files in the lightmap folder on both computers and they all have identical hashes.
Where is the blue mapping stored? Did we screw up versioning meta files / scenes?
I’m having the same problem. The bake on generated lightmap UVs look fine on two of our computers, but is broken on the others. I tried to find the difference and everything seemed to be the same except the baked lightmap instance hash. The hashes on the broken objects were the same on the two working computers and not the others. This leads me to believe that the lightmap UVs were somehow recalculated on the other computers, but, like OP, I can’t seem to locate where the UVs or instance hashes are stored and manually override.
Same problem here… between windows machines. Very annoying. @AcidArrow I hope it is just the generation of the second uv set per object that is inconsistent but the layouting for the scene is working as expected?
We use the same object in several scenes and we can’t have already uniquely mapped geometry for that reason.
I was wondering whether or not this issue still occurs when you rebake the lightmaps on other computers? Or does this only occur when you open scene in question without rebaking first? Thanks.
Is there any solution for this?
I’m having the same problem in 2018.2 with Prgressive Lightmap.
Our team uses the cache server. Is it related to the problem?
As other in the thread have suggested, authoring custom lightmap UVs in a DCC tool would be the best approach. That being said, lightmaps generated by Unity should carry over across all platforms.
I have tried to reproduce the issue by syncing a small repro project over mercurial repo across Windows and Mac machines. The project was authored in 2018.2.2f1, yet I could not reproduce the issue.
If you still happen to experience the problem, please provide us with more detail so that we can investigate. Or better yet, submit a bug report via Unity’s bug reporting tool, and paste the bug link here - we’ll take a look at it right away. Thanks.
Happening to us as well. SOMETIMES, but not always, manually forcing a reimporting of the meshes fixes the problem. This is really becoming a time drainer. Has anyone come up with a solution. We run Unity 2018.4.3 but have seen this in 2019.2.4. Same behavior. Is there a way to turn GI cache completely off?