- Modificato
Runtime repacking bug? Unequipping the last attachment
this probably isn't a very practical working example, but if you attempt to unequip the last attachment on a spine, AtlasUtilities.GetRepackedAttachments will cause an exception on this line-
newTexture.anisoLevel = texturesToPack[0].anisoLevel;
basically a little bit above that line, it has no source attachments to loop through so texturesToPack will be empty.
Thanks for reporting that! We'll add a check.