Search Issue Tracker

Active

Planned for 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X

Votes

1

Found in

2020.3.35f1

Issue ID

UUM-5566

Regression

No

Shader variants take too much memory at runtime

--

-

The attached project has a shader with 30K vertex and 30K fragment variants. Only one variant is used at runtime.

STR:
1. Make sure "Development build" and "Auto connect profiler" are checked in the Build window.
2. Build and run the attached project, wait for it to show a cube.
3. Take a detailed memory snapshot of the running player.

Expected: Unlit/NewUnlitShader uses less than 100 MB of memory
Actual: Unlit/NewUnlitShader uses nearly 130 MB of memory.

Comments (1)

  1. fonzvermund

    May 23, 2022 13:45

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.