Search Unity

Bug accelerator / cache not working when switching back and forth between pipeline

Discussion in 'Unity Accelerator' started by laurentlavigne, Sep 22, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    each time i switch between urp and builtin the build recompiles all shaders
    upload_2020-9-21_18-7-35.png
     
  2. henriksc

    henriksc

    Unity Technologies

    Joined:
    Aug 27, 2020
    Posts:
    30
    Not a lot of information to go by. Would be nice to have reproduction steps?

    That said, this sounds very similar to a bug we are tracking internally where the shader cache gets invalidated at start up. This causes the cache to be non-usable, as shader dependencies have seemingly changed without user interaction.
     
    laurentlavigne likes this.
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    Good to hear you're on it.
     
  4. Kamand0l

    Kamand0l

    Joined:
    May 19, 2014
    Posts:
    24
    Hi !

    Any news on status of the possibly related internal bug you were tracking ?
     
  5. henriksc

    henriksc

    Unity Technologies

    Joined:
    Aug 27, 2020
    Posts:
    30
    It should be fixed in the latest 20.2 and 21.1 builds.
     
    Kamand0l likes this.
  6. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,363
    It is, switching between platforms is now a breeze.
    Thanks team!