Using a Sprite Atlas asset causes the Editor to crash as soon as Unity packs sprites.
Reproduce
- Open provided project
- Right-click “Assets/Atlas1/New Sprite Atlas” asset
- Choose “Reimport”
Actual
The editor crashes.
Expected
No crash.
Using a Sprite Atlas asset causes the Editor to crash as soon as Unity packs sprites.
Reproduce
Actual
The editor crashes.
Expected
No crash.
Is this a b13 regression?
(Just asking so we can avoid some pain by not upgrading to it.)
I found out it’s caused by having the sprite atlas asset in the folder that’s getting packed and using sprite packer v2. Other combinations seem to work.
Oh, sprite packer v2.
We don’t use it.
A new experimental feature with no tangible advantage.
QA was able to reproduce the issue. Good job!
We’ll see about that :p. If it actually caches the results then it should make the enter playmode faster for us. Right now it’s over 8 seconds for a project with thousands of atlases.
Please keep us posted whether it improves the enter playmode time.
Just updated to 2020.2.0a19. Enter playmode for me went down from 8 to 5, which is already pretty good. Unfortunately the new sprite packer didn’t improve things at all. Editor reads every single atlas file before entering playmode, which I was hoping the new packer would not do.
This seems to have popped back in the latest beta.
+1, I have this issue on 2022.2.2f1
Crashes with SpritePacker V1 as well: I literally did nothing to incur this, it was working fine yesterday.