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
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
- [Android] [iOS] Application silently crashes when creating and setting up Textures2D in large amounts
- Some VFX Window Panels close on entering Play mode
- VFX Graph using Redo action for Move and Connect node results in an unknown input value
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.