Search Issue Tracker
Fixed in 2021.3.12f1
Fixed in 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 2023.1.0a11
Votes
0
Found in
2021.3.9f1
2022.1.16f1
2022.2.0b8
2023.1.0a4
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment