Search Unity

Feature Request Prevent an incorrect cache from being pushed to and propagated with Unity Accelerator

Discussion in 'Unity Accelerator' started by bitinn, Jun 10, 2021.

  1. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    835
    Hi,

    Cache Server used to have this High Reliability mode that use confidence score to prevent a good cache from being replaced with a bad cache.

    https://github.com/Unity-Technologies/unity-cache-server#high-reliability-mode

    I am not aware of any option like that for Unity Accelerator, can the team explain how does Unity Accelerator prevent such a problem?

    We observed this problem with a shader cache recently: an incorrect shader compilation result are uploaded and propagated to some team members, making the material show up as purple.

    (The exact cause was due to shader graph variant limit, even though these team members have setup a higher threshold correctly, their unity downloaded the incorrect cache from accelerator.)

    And we cannot just switch back to Cache Server as we are already using V2 asset pipeline.

    Thx.
     
    PsyKaw likes this.
  2. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    835
    Hi, I submitted this question 2 months ago and got zero reply.

    I think this question deserves some answers?
     
unityunity