Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0a1
2018.2.10f1
2018.3.0a1
2019.1.0a1
Issue ID
1087304
Regression
No
Unity freezes when previewing huge Sprite Atlas pack
How to reproduce:
1. Open the attached project
2. Select "Pregnant.spriteatlas" in the Project
3. Press "Pack Preview"
Actual result: Unity freezes with huge RAM memory usage.
Reproducible with: 2019.1.0a13, 2018.3.1f1, 2018.2.20f1, 2018.1.9f2, 2018.1.0a1.
Notes:
Freeze also happens when entering play mode.
The sprite Atlas pack is more than 4096x4096 resolution (which most likely causes the issue).
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2018.3.X):
Depending on the number of sprites and the texture size involved, the memory usage can be quite high if all the sprites are included into a single atlas.
The recommended way to avoid "out of memory" is to use multiple atlases.