Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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