-
Notifications
You must be signed in to change notification settings - Fork 445
Move Unity caches and asset store files into another drive
mika edited this page Nov 1, 2021
·
1 revision
- Move the complete 'C:\ProgramData\Package Cache' directory to another place (the source directory 'Package Cache' must be deleted)
- Create the junction: mklink /J "C:\ProgramData\Package Cache" "D:\ProgramData\Package Cache"
- Open Unity preferences
- Open the 'GI cache tab'
- Clean the GI cache
- Set a new place for the GI cache
- Move the 'C:\users\username\appdata\roaming\unity\asset store-5.x' directory to the destination (the source directory 'asset store-5.x' must be deleted)
- Create the junction: mklink /J "C:\users\username\appdata\roaming\unity\asset store-5.x" "E:\users\username\appdata\roaming\unity\asset store-5.x"
- Open the System properties (right-click on the 'Computer' icon, select 'Properties', then click on on 'Advanced system properties'
- Add the 'UPM_NPM_CACHE_PATH' variable with the destination directory (do not create the destination directory)
- Add the 'UPM_CACHE_PATH' variable with the destination directory (do not create the destination directory)
- Delete the 'npm' and 'packages' directories from 'C:\Users<USER_NAME>\AppData\Local\Unity\cache'
- Restart the computer