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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

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,738
    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
    mlarr likes this.
  2. peteorstrike

    peteorstrike

    Unity Technologies

    Joined:
    Oct 4, 2013
    Posts:
    116
    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:

     
    mlarr, DaveMero and DantaliaN like this.
  3. the_motionblur

    the_motionblur

    Joined:
    Mar 4, 2008
    Posts:
    1,738
    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.