Search Unity

Changing the Temp directory location

Discussion in 'Editor & General Support' started by cpadams, May 2, 2012.

  1. cpadams

    cpadams

    Joined:
    Mar 31, 2011
    Posts:
    5
    Unity is having a hard time building some jobs in Jenkins CI because the Temp directory in the root of the project folder is read only. It is read only because it is inheriting permissions from the project folder which is RO due to it being checked into Perforce.

    So my question is: Is there any way to change the location of the Temp directory to something more appropriate (like /tmp)? Is there a CLI parameter or setting in the editor itself?
     
    emersondesign likes this.
  2. exploringgame

    exploringgame

    Joined:
    Apr 14, 2013
    Posts:
    1
    Anyone ever reply? I am searching for this answer as well right now, 4 years later haha
     
  3. ABrookes

    ABrookes

    Joined:
    Mar 11, 2018
    Posts:
    1
    You can change the location of your lighting cache, which can bloat up into the gigabytes when generating scene lighting. It's in Edit>Preferences>GI Cache. Before you change the cache location, make sure to hit 'Clean Cache' so you don't leave the bloated old directory there. Then hit 'Custom cache location' and browse for your directory.
     
    wInevitable and modle13 like this.