Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

Modification on AssetPostprocessor.OnPreprocessXXX does not work for cache server

Discussion in 'Cache Server' started by Kichang-Kim, Feb 21, 2019.

  1. Kichang-Kim


    Oct 19, 2010
    Hi, I found that modified import settings from AssetPostprocessor.OnPreprocessXXX does not applied for generating hash for cache server.

    Reproduction steps:
    1. Turn on Cache server
    1. Make AssetPostprocessor modifying some settings on OnPreprocessXXX
    2. Import some asset A
    3. Change import setting manually for asset A
    4. Unity automatically re-import asset A, but import setting is reverted by AssetPostprocessor so the hash of asset should be same, but Unity does not download cached asset A because the modification on AssetPostprocessor does not used for calculating the hash for cache server.