Search Issue Tracker
Duplicate
Votes
62
Found in
Issue ID
706367
Regression
Yes
Unwrapper gives different results between platforms
In 5.x we no longer run the same unwrapper DLL on Windows and Mac. This means that when GI data is built on one platform with a certain set of lightmapping UVs (the realtime GI UVs are based on those, and the baked lightmaps use them too) the UVs produced on another platform during mesh import can be different.
The resulting mesh can thus have a different vertex count.
This is a regression compared to late 4.x.
This is a problem when loading the data built on one platform on another platform the UVs will not match with the output and one will see garbled output in the scene.
The realtime GI UV's patched from the snapshot can have a different count than the vertex count of the mesh and that leads to errors when batching:
"Failed setting triangles. Some indices are referencing out of bounds vertices. IndexCount: XXXX, VertexCount: YYYY"
Currently the only workaround is to rebuild lighting on each Editor platform.
Comments (20)
-
kaushik.d
Feb 04, 2016 05:50
This seems to be finally fixed in 5.3.2f1. Worked when we baked on Windows with "generate secondary UV's" checked and imported fine on Mac.
-
littlemuggo
Jan 08, 2016 19:49
Please fix. As temp solution, we have to re-bake every scene lightmaps on the platform (ie: iOS/Android) we are building too. This process takes a few hours at least... Please fix!
-
562873336
Jan 05, 2016 02:04
Still happen in 5.3.0 between Mac and Windows(64bit).
-
jeremyfp
Dec 18, 2015 20:55
I like how voting is disabled for a "resolved" issue...
Consider this a vote. The bug persists in 5.3.0f4.
-
variablestatekieran
Dec 09, 2015 17:19
This is still an issue with some meshes in 5.3.0f4!
-
cooado
Dec 03, 2015 04:47
it's still happening on unity 5.2.0f3 personal edition.
Baked on windows, messy on mac.
Baked on mac, messy on windows. -
kaushik.d
Nov 30, 2015 21:14
This is still a problem in 5.2.x . We have some pretty large levels, and it will be prohibitively expensive to re-bake everything on Macs for the iOS version of the game. Can someone please comment on when this will be fixed?
-
echo4papa
Nov 25, 2015 12:42
Still experiencing this problem in 5.2.3f1 and 5.2.2p4
-
masaki.iwasaki
Nov 11, 2015 08:43
Still happen in 5.2.2p1 between Mac and Windows(64bit).
-
kaushik.d
Nov 05, 2015 13:55
This is still happening in Unity 5.2. Baking lightmaps in Windows (64-bit 5.2.1f1) and looking fine. But when we export the package into Mac (5.2.0f3 ) the lightmaps are still messed up. Curiously, this is not happening on every scene - some Windows lightmapped scene are working properly on a Mac.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
- Addressables Profiles window UI break when creating a new Variable with a long name
- No character limit when renaming Profile in Addressables Profile window, allowing excessively long names
- Blurry, low quality Active Profile icon used in Addressables Profiles window
- Tree Asset Preview window is not updated after assigning a new Material
This is a duplicate of issue #754370