Search Unity

Windows <- OSX Unity Editor 5.1.1 lightmaps not matching

Discussion in 'Global Illumination' started by KB73, Jun 22, 2015.

  1. KB73

    KB73

    Joined:
    Feb 7, 2013
    Posts:
    234
    This is likely known but just re-iterating as it is a big problem for us.

    We bake in Windows, the lightmaps look fine.

    Open the same scene on an OSX machine, the lightmaps are broken. Black patches all over the place and the preview window in the light tool is not showing anything on a Mac.
     
    Mimicry likes this.
  2. Mimicry

    Mimicry

    Joined:
    Apr 8, 2015
    Posts:
    11
    We have the same problem.
     
  3. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    Hi! We are aware of this problem and we already have a bug report on it in our tracking system. This happens because of differences in the UV unwrap between platforms, because of different math implementations. We are working on a fix.
     
  4. KB73

    KB73

    Joined:
    Feb 7, 2013
    Posts:
    234
    Awesome. Thanks!
     
  5. kaushik-d

    kaushik-d

    Joined:
    Aug 25, 2011
    Posts:
    19
    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 messed up. Curiously, this is not happening on every scene - some Windows lightmapped scenes are working properly on a Mac.
     
  6. larskroll

    larskroll

    Joined:
    Dec 17, 2013
    Posts:
    52
    Same issue in 5.3
     
  7. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    @larskroll The issue was fixed in 5.3.1 (Editor: Force reimport all models to ensure that generated lightmap UVs are consistent across platforms. (739787, 745698))