Search Unity

Source Control & Lightmaps

Discussion in 'Editor & General Support' started by LukasO, Feb 17, 2016.

  1. LukasO

    LukasO

    Joined:
    May 23, 2013
    Posts:
    115
    Hi there,

    One problem I'm increasingly notice, is repositories getting bloated with lightmaps especially when multiple bakes happen during a project. I was wondering how other people deal with that as especially with very high res scenes, repos can end up being 10GB+ big?

    Thanks,
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    If you can deal with a loss of the lightmap / a potential need for rebuilding it, you can add the lightmap files / folder to the .hgignore file.
    I had repositories over 20Gb and that was no problem for me.