My devices are crashing when too many sprite frames get added via the method below. I’m removing sprites when they’re no longer needed but eventually I still get the crash. Note that I can’t wait until the end of a scene to purge unused assets since the crash happens way before the main scene ends. Is there something I’m missing?
Also, I remove the sprites from the cache with this: