Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    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,774
    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,774
    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.