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. Dismiss Notice

Question All shaders are loaded when unity editor is started

Discussion in 'Shaders' started by CloudChan, Jun 29, 2023.

  1. CloudChan

    CloudChan

    Joined:
    Nov 4, 2019
    Posts:
    3
    I start unity engine, and open Memory profile, I find there is a unnamed and not editable ShaderVariantCollection(svc) in memory, and all shaders are in it.
    All my generated svc don't contains it.
    Helper!
    upload_2023-6-29_16-24-32.png
    upload_2023-6-29_16-19-32.png
    upload_2023-6-29_16-19-52.png
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,835
    The Editor internally tracks shader variants that have been used.
     
  3. CloudChan

    CloudChan

    Joined:
    Nov 4, 2019
    Posts:
    3
    Thanks!