Some of the animations I'm creating require me to make multiple sprite collections currently. (The amount of images and their sizes causes unity to crash while creating the atlases. Eventually these images will be smaller and it may eliminate this problem)
For the time being I'm using four sprite collections for a single animation.
Here is what I do to assemble this animation in a Sprite Animation prefab:
1. Select the first collection and press AutoFill. This fills the animation with the 54 frames that are in the first collection.
2. Click the drop down for Num Frames and increase the number by one.
3. Change the collection for the 55th frame to the next collection and make sure it's on the first image of that sequence.
4. Click AutoFill.
5. If not done, go back to step 2.
The problem that I'm having is that at step 2, if the number of frames is over 99, I cannot add a frame because the dropdown menu doesn't extend that far. Is there a way to manually enter this value or to go over 99 frames?
My current fix to this problem is I select the last frame and change the collection to the next one (cutting out the last frame of the previous collection). I then click autofill and I swap that frame that I changed to what it was originally and proceed to change the frame of each one after that to be in proper order. (See Attachment for visual explanation)
I'm hoping that eventually we can fit our animations into one collection without crashing unity during the 'commit'. If we cannot, there will always be that tedious work of creating the animation. Could there be a way around this?
With regards to crashing during building the collections, it's probably running out of memory. Most of my tests were done in 64 bit windows, where it can easily cope with multiple 4096x4096 atlases being generated. This number is much much lower in 32 bit windows, due to the process address space begin much lower. The solution then is to split up the source images into more sprite collections.
Perhaps the solution here could be some code to automatically generate your sprite animations in code rather than relying on auto fill? What I'm suggesting is something like this, you give the script a list of sprite collections to work with, and then it generates an animation object out of this with the given name parameters, all done from one script.
Let me know if this is of interest to you.
Also, I need to know what version of 2d toolkit you're running...