A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.unity3d.com/Manual/sprite/../upm-config-cache-as.html below:

Manual: Customize the asset package cache location

Customize the global cache

Using private repositories with HTTPS Git URLs

Customize the asset package cache location

The Package Manager maintains a cache for asset packagesA collection of files and data from Unity projects, or elements of projects, which are compressed and stored in one file, similar to Zip files, with the .unitypackage extension. Asset packages are a handy way of sharing and re-using Unity projects and collections of assets. More info
See in Glossary
that you get from the Asset StoreA growing library of free and commercial assets created by Unity and members of the community. Offers a wide variety of assets, from textures, models and animations to whole project examples, tutorials and Editor extensions. More info
See in Glossary
.

Note: This cache is separate from the global cache, which the Package Manager uses for UPM packagesA Package managed by the Unity Package Manager. Refer to Packages.
See in Glossary
.

The Package Manager stores the asset package cache in a default location, which you can override. You might want to override the location of this cache for several reasons:

By default, the Package Manager uses the following folder structure for its asset package cache:

<asset-store-cache-root>
  └── Asset Store-5.x
      └── <subfolders for Asset Store vendors>

For information on the default location of the asset package cache, refer to Location of downloaded asset package files.

To override the default location of the asset package cache, you can use the following methods:

Important notes before you begin Using the Preferences window

To use the Preferences window to override the default location of the asset package cache, follow these steps.

  1. Use one of the following methods to open the Preferences window:

  2. Select the Package Manager category.

  3. Under My Assets open the folder menu beside Cache Location.

  4. Choose Change Location.

  5. Choose a new location for the asset package cache.

The Preferences window with the Package Manager category selected Using the environment variable

In scenarios that involve automation or continuous integration, it’s less practical and more error prone to configure settings in a configuration file or a preferences window. In such scenarios, you might consider setting the ASSETSTORE_CACHE_PATH environment variable to override the default location of the asset package cache.

Important: Follow these guidelines when you use this method:

For information on setting environment variables, refer to the documentation for your operating system. For an introduction to environment variables, refer to https://en.wikipedia.org/wiki/Environment_variable.

Additional resources

Customize the global cache

Using private repositories with HTTPS Git URLs


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4