Search Issue Tracker

Fixed

Fixed in 2021.3.12f1, 2022.1.21f1, 2022.2.0b10, 2023.1.0a11

Unknown (hidden) 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X

Votes

1

Found in

2020.3.0f1

2021.3.0f1

2022.1.1f1

2022.2.0a9

2023.1.0a3

Issue ID

UUM-5583

Regression

No

Unlit Shader uses more than 100MB of memory when in Player

--

-

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

Reproducible with: 2019.4.30f1, 2020.3.18f1, 2021.1.20f1, 2022.1.0a8
Not reproducible with: 2021.2.0b12, 2022.1.0a7

Notes: Reproducible on Windows 10 and macOS

  1. Resolution Note (2021.2.X):

    2021.2 is no longer supported

  2. Resolution Note (2021.1.X):

    2021.1 is no longer supported

  3. Resolution Note (2020.3.X):

    Code diverged too much to backport to 2020.3

  4. Resolution Note (2019.4.X):

    2019.4 LTS has reached end-of-life. This port is cancelled.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.