Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Source control vs GI Cache

Discussion in 'Unity 5 Pre-order Beta' started by Dweep, Oct 28, 2014.

  1. Dweep

    Dweep

    Joined:
    Oct 8, 2014
    Posts:
    28
    Thanks for the beta, looks awesome so far!

    We are sharing our project over SVN but when committing I noticed lots of files in the Library/GiCache. My first thought is to ignore on commit but I wanted to ask if anyone of you know for sure how to treat these files. Thanks!
     
  2. Dweep

    Dweep

    Joined:
    Oct 8, 2014
    Posts:
    28
    Basicly everything in the library folder actually. Not sure if Unity wants to re-genereate this by herself or if it should be commited and used across the whole team
     
  3. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    3,043
    Yeah, the Library folder is personal. You should ignore it completely in version control. See elsewhere for the recommended .gitignore file - it contains a list of stuff you should ignore in SVN too.
     
  4. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,670
    Yes, the Library folder should never be committed to source control.

    For now this does mean the GiCache data is not shared amongst your team - when you make a change to a scene and check it in, and the rest of your team all pull the change, they'll each find themselves rebaking GI individually.

    My guess is that this is the sort of problem that the Cache Server should eventually solve.
     
  5. Dweep

    Dweep

    Joined:
    Oct 8, 2014
    Posts:
    28
    Aight, thanks for the response! :D