Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Same lightmap presents differently on Windows and Mac

Discussion in 'General Graphics' started by Cannaan, Jun 18, 2015.

  1. Cannaan

    Cannaan

    Joined:
    Mar 15, 2013
    Posts:
    12
    For same scene, I baked lightmap on Windows. new lightmap generated. Save the scene and the scene (.unity3d file)has no changes.
    When I open the same scene on Mac, the texture coordination is totally messed. It works well until I re-bake the lightmap, after re-baking, lightmap has also changed, but this new lightmap displays not correctly on Windows.

    In this whole process, the scene has no changes.

    Anyone meet the same problem?
     
  2. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    Now this sounds weird... could be because of OpenGL/DirectX rendering differences!

    Could also be the Mac stuffing things up. I otherwise wouldn't know. Are you using automatic UV generation?
     
  3. OllyNicholson

    OllyNicholson

    Unity Technologies

    Joined:
    Jun 17, 2011
    Posts:
    142
    Hi - there are some known issues transferring baked lightmaps between versions, re-baking on the target platform should work fine and is the current work around for this, please bear with us while this is fixed.
     
  4. paulbennett

    paulbennett

    Joined:
    Jun 19, 2015
    Posts:
    1
    This is quite a problem for us, we're primarily using Windows in the studio and our lightmaps are baked on a Windows machine, but this issue crops up for those of us using Macs. I don't want to have to rebake our lightmaps every time a change is made so a fix will be greatly appreciated.
     
  5. intoscienceDing

    intoscienceDing

    Joined:
    Nov 29, 2012
    Posts:
    10
    Hi, we have the same issue. I wonder if there is already a bug reported and can be tracked in the issue tracker, or we can help to file one.
     
  6. mouurusai

    mouurusai

    Joined:
    Dec 2, 2011
    Posts:
    349
    Try bake lightmaps on PC, when editor forced to use opengl. In this way lightmaps seems work fine on Mac.
     
  7. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    I wish... Unity 5 freezes on force-opengl for me... :(
     
  8. LukasH

    LukasH

    Joined:
    May 16, 2014
    Posts:
    16
  9. FuzzyQuills

    FuzzyQuills

    Joined:
    Jun 8, 2013
    Posts:
    2,871
    Just voted. :) Hopefully, it get's fixed. I might as well give that new openGL pipeline a go, speaking of which, maybe that won't freeze for me... :D
     
  10. variablestatekieran

    variablestatekieran

    Joined:
    Jun 12, 2015
    Posts:
    26
    Discovered this is still happening in Unity 5.3.0f4.

    :(
     
  11. fakeunityuser2

    fakeunityuser2

    Joined:
    Jul 12, 2017
    Posts:
    4
    Hello,

    it seems that this is still an issue with Unity 2017.3.0p2. Can anyone confirm?

    At least, baking lightmaps on Windows, then making an AssetBundle on Mac for that scene, and using that AssetBundle either on Mac or Windows does not seem to show the lightmap correctly.

    Why am I doing it like this? Well, studio workflow. Artists use Windows, but build automation is on top of Mac / Linux.
     
    sampenguin likes this.