I have a problem with external version control causing UV/lightmap misalignment on any machine other than the one that created the lightmaps (I’m using the built in Beast lightmapper).
To begin with I was using the ‘Auto Generate Lightmap UVs’ option on the FBX and I put the problem down to the fact that Unity would generate the UVs slightly differently on each machine, but apparently Unity
guarantee that the UVs will be the same every time.
I tested this a bit further by turning off the auto generate option and setting up the second UV set on the FBX before bringing it in to Unity. However the same problem occurs so I figure it can’t be down to the auto generate process.
I then thought it might be the UV atlasing settings somehow not getting through to other machines, but after checking this they are exactly the same on all machines so it’s not that.
Another thing for me to check on the Unity side of things is that the lightmaps themselves are getting through ok but I’ve not had a chance to check yet and I can’t see that being the problem anyway to be honest.
If it’s not that then I suppose the version control process could possibly be doing something to the FBX itself maybe? Sounds unlikely but otherwise I’m out of ideas.
Any help is much appreciated.