Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Building process freezes on compiling shader variants when connected to accelerator

Discussion in 'Unity Accelerator' started by alexvector, Jan 22, 2021.

  1. alexvector

    alexvector

    Joined:
    Oct 9, 2019
    Posts:
    26
    The release notes for 2020.2.2f1 currently list this know issue:
    https://issuetracker.unity3d.com/is...shader-variants-when-connected-to-accelerator

    On our projet we get hit by this each time we have an important change that causes shaders to recompile.

    The build process will freeze and we have to start it over and over again until all shaders have been compiled and cached. Once the shaders are cached on the accelerator, every subsequent build process will run fine, even if the cache in the local Library folder is empty.

    Is there an ETA for a fix for this?
    Is there a workaround (apart of completely disabling the Accelerator) that we could apply in the mean time?

    Thanks
     
    RatherGood and Homere like this.
  2. shipping-tomas

    shipping-tomas

    Joined:
    Oct 14, 2020
    Posts:
    3
    Try setting
    Code (CSharp):
    1. "CacheMaxPending": 1,
    in unity-accelerator.cfg as a temporary workaround