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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
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.