Search Issue Tracker

Duplicate

Votes

62

Found in

Issue ID

706367

Regression

Yes

Unwrapper gives different results between platforms

Global Illumination

-

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.

  1. This is a duplicate of issue #754370

    Lighting Data incompatible between Windows and OSX

Comments (20)

  1. echo4papa

    Nov 25, 2015 12:42

    Still experiencing this problem in 5.2.3f1 and 5.2.2p4

  2. masaki.iwasaki

    Nov 11, 2015 08:43

    Still happen in 5.2.2p1 between Mac and Windows(64bit).

  3. 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.

  4. daafdasfa

    Nov 02, 2015 15:58

    This is NOT fixed in 5.2.2f1. I'm still running into the issue

  5. 62316e

    Aug 13, 2015 21:44

    Almost month passed. Any updates?

  6. Neodrop

    Aug 05, 2015 16:27

    Very hard problem

  7. voporak5

    Jul 21, 2015 20:08

    Happened here too, and we have a system that auto-builds for us over night as well as when any SVN changes are detected so need this fixed asap.

  8. gyd

    Jul 09, 2015 15:07

    it happened to my team even we build on Windows and update to Windows.

    is it possible also an issue between 32bit and 64bit?

  9. StealthStudiosInc

    Jun 29, 2015 20:54

    This has been a literal nightmare for us. We have spent weeks trying to 'solve' it until finally finding this page...

  10. Tlaxtaquatl

    Jun 29, 2015 20:52

    This has caused a lot of headaches since my team has some developers working on pc and others on mac

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.