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 March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

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:
    5,842
    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:
    5,842
    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:
    5,842
    It is, switching between platforms is now a breeze.
    Thanks team!