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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Lightmap baked on one machine doesn't show up on another after Git commit

Discussion in 'Editor & General Support' started by Red Spark, Jun 27, 2016.

  1. Red Spark

    Red Spark

    Joined:
    Jun 7, 2014
    Posts:
    13
    Hi everyone!

    So the problem is as following:

    Our team works through Git. I'm responsible for baking lightmaps in our scenes. Baked lightmaps work ok and look fine on my machine, but when I commit changes my team mate receives the scene still in "non-baked" state, with lights still rendered as dynamic and waiting to be baked. Even though all corresponding lightmap data can already be found in appropriate scene folder.

    Did anyone have the same issue? Is there any easy way to solve it? My machine is Windows, his one is Mac, and we're building for iOS on his machine. Unity version is 5.3.5

    Thanks in advance!
     
    Last edited: Jun 28, 2016
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,797
    Make sure your Unity project is configured for "Visible Meta Files" under editor, and recheck to make sure all files are committed to git. There might be some reference not getting properly committed to source control.
     
  3. Red Spark

    Red Spark

    Joined:
    Jun 7, 2014
    Posts:
    13
    Thanks Kurt. We have meta files configured as visible from the very start, so seems like it's not the culprit here. When I commit lightmap changes, I can see in GitHub Windows all the meta files for the folder and lighting data.
     
    Last edited: Jun 28, 2016
  4. SAMIDARA

    SAMIDARA

    Joined:
    Dec 27, 2016
    Posts:
    1
    2023
    the problem is still relevant