Search Unity

Clear GI cache manually?

Discussion in 'Unity 5 Pre-order Beta' started by the_motionblur, Oct 27, 2014.

  1. the_motionblur

    the_motionblur

    Joined:
    Mar 4, 2008
    Posts:
    1,736
    I just found out that the GI cache in Preorder Beta9 apparently can bloat very very fast. On a currently 450MB test Project the GI Cachces in the Project Library Folder (under: "GiCache") amounted to already 20GB.

    The GI Caches aren't cleared on deleting the lightmaps and aren't cleared on exiting Unity.

    Is this correct behaviour or is this a Bug (so should I report it)?
    Can I clean the GI Caches manually somehow?

    (edit) filed a bug report either way.
    If this happens on the boot drive this could be pretty lethal for the system.
     
    Last edited: Oct 27, 2014
  2. peteorstrike

    peteorstrike

    Unity Technologies

    Joined:
    Oct 4, 2013
    Posts:
    111
    If you go to Edit - > Preferences (or Unity - > Preferences on a Mac), you'll find options to set the size, location of, and a button to clear the existing GI Cache.

    It should look like this:

     
    DaveMero and DantaliaN like this.
  3. the_motionblur

    the_motionblur

    Joined:
    Mar 4, 2008
    Posts:
    1,736
    Ah. There it is. Thank you :)

    This could probably be made a little more prominent from the baking tab (that the settings are found in the system settings I mean). I would not have expected them there although it's logical now that I know about it.
     
    seattlebluesky and peteorstrike like this.