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.

Bug Unity Not Caching VisualEffect Asset Shaders Automatically

Discussion in 'Visual Effect Graph' started by nekema12, Aug 17, 2022.

  1. nekema12


    Oct 7, 2021
    In Unity 2021.3.1f1 I am having an issue where my shaders for my Visual Effect assets are not caching their shaders automatically. It seems I need to manually open each vfx for it to cache the shaders, it seemed before I updated to this version of Unity I didn't see this problem so not sure what is happening. But due to this, when we push changes to another branch we will have to go into that branch and manually open each vfx asset.

    Is this a known issue, or is there a way I can fix this?

    I've been looking into the
    Force Compilation in Edition Mode
    Experimenal Shader Externalization
    but I am not sure their performance implications or what issues might arise with using them. Is there any info anyone can shed on these options? It seems like Force Compilation is what I am after to ensure the assets get loaded and shaders get saved, but wasn't sure.