Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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