Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

"Clear currently tracked shader variant information." has no effect.

Discussion in 'Editor & General Support' started by Stevens-R-Miller, Jul 15, 2019.

  1. Stevens-R-Miller

    Stevens-R-Miller

    Joined:
    Oct 20, 2017
    Posts:
    362
    My Project Settings window says "Currently tracked: 42 shaders 103 total variants." When I click the "Clear" button (whose tooltip says, "Clear currently tracked shader variant information."), I expect those numbers to change. But they don't.

    I don't think I have anywhere near that number of shaders/variants in my scene. Can anyone help me understand this?
     
  2. Stevens-R-Miller

    Stevens-R-Miller

    Joined:
    Oct 20, 2017
    Posts:
    362
    Hmmm... It appears to have no effect in 2019.1.7f1, but it does lower the count when I click it in 2017.3.0f3.

    A bug?
     
  3. Stevens-R-Miller

    Stevens-R-Miller

    Joined:
    Oct 20, 2017
    Posts:
    362
    Yup, a bug.

     
  4. greenmonster

    greenmonster

    Joined:
    Jan 18, 2013
    Posts:
    26
    Thank you so much for following up with what you found! Still have this bug in 2019.2.6f1.
     
  5. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    414
    Last edited: Dec 16, 2019
    Chefty and matheusfantazm like this.
  6. MikeHergaarden

    MikeHergaarden

    Joined:
    Mar 9, 2008
    Posts:
    1,004
    It's still bugged in 2019.3.6f1 but this post saved me quite some frustration: Disabling the async compilation is a valid workaround.
     
unityunity