Search Unity

Caching does not work when updating from old version unity to newer version?

Discussion in 'Unity Accelerator' started by Kichang-Kim, Oct 11, 2019.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    Hi. I tested Unity Accelerator with Unity 2019.3.b6.

    I found that when I update my project from Unity 2019.2 to 2019.3, it always import asset from scratch not download from cache server.

    After updating, I reset (using git hard reset) my project and updated again for testing, but it's processing time is same to first time updating.

    I want to know whether cache server does not work for updating (and is it intended behaviour or bug).

    Thanks.
     
  2. bradunity

    bradunity

    Joined:
    Nov 12, 2013
    Posts:
    195
    It should certainly show an improvement on a second update pass of the V2 Asset Import Pipeline, @Kichang-Kim. Some things to check would be that the project isn't explicitly set to use the V1 pipeline (check the configuration in your Editor's Edit menu, under Project Settings, in the Editor section for the Mode value). Additionally, the Unity Editor logs (https://docs.unity3d.com/Manual/LogFiles.html) will contain information like the following if items are being stored/retrieved from its perspective:

    Using Asset Import Pipeline V2
    ...
    RemoteAssetCacheGetArtifact
    ...
    RemoteAssetCache::AddArtifactToCacheServer