- Home /
SpriteAtlas clone memory problem
Using SpriteAtlas and convert to an asset bundle. Include in build is off. I have two questions about SpriteAtlas.
Why does SpriteAtlas.GetSprite clone the texture?
The textures are cloned, so when using SpriteAtlas, the memory size of the texture increases, which is a problem. This behavior is the reason why SpriteAtlas is not easy to use. Is there any way to solve this problem?
using Unity 2020.3.0f1
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613031838im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I use atlas sprite as texture for a material? 2 Answers
Sprites and minmizing memory usage 1 Answer
Sprite/ Atlas/ Memory limit in 2D Mobile Games? 2 Answers
Parsing a TexturePacker JSON file 2 Answers
loading sprite from atlas in script 4 Answers