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
- [Android] Texture Compression default texture format is set to PVRTC when building via script BuildPipeline.BuildPlayer
- [Android][GameActivity] APK built with Development Build enabled gets flagged as having Malware
- Default name of manually created Global Light 2D GameObject differs from the one included in the initial project Scene
- Option for "Acceleration Structure Build Flags" cannot be toggled when Lightmaps have been Generated for a Mesh Renderer
- Lights in Batch keep resetting to 0 in the Light Batching Debugger when a new GameObject is created and the mouse cursor is hovered over the Inspector window
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.