Unity Issue Tracker - Unlit Shader uses more than 100MB of memory when in Player
Fixed
UUM-5583
Unlit Shader uses more than 100MB of memory when in Player
Unity: Shader System
Fixed
2023.1.X
2022.2.X
2022.1.X
2021.3.X
Won't Fix
2021.2.X
2021.1.X
2020.3.X
2019.4.X
2021.2 is no longer supported
2021.1 is no longer supported
Code diverged too much to backport to 2020.3
2019.4 LTS has reached end-of-life. This port is cancelled.
How to reproduce:
1. Open the attached project "Shader_Variant_Chunking_Repro.zip"
2. Open Assets/Scenes/Main.unity
3. Build And Run the project
4. In the Profiler window select the memory module
5. Take a memory sample
Expected results: Assets>Shader>Unlit/NewUnlitShader uses only a few MB of memory
Actual results: Assets>Shader>Unlit/NewUnlitShader uses more than 100MB of memory