2D Toolkit Forum

2D Toolkit => Support => Topic started by: artician on November 11, 2013, 07:31:48 pm

Title: Crash Help
Post by: artician on November 11, 2013, 07:31:48 pm
Hi, I just purchased 2dTk today because it looked like the best tool for my project.  It's nice, but I received this epic error when I tried to commit to a sprite collection.

Any help is appreciated.
Title: Re: Crash Help
Post by: artician on November 11, 2013, 07:47:37 pm
Got around this by simply not trying to commit everything at once.  When creating a sprite collection I basically have to add one selection of sprites at a time, commit, and repeat.

Title: Re: Crash Help
Post by: DemiGoth on November 11, 2013, 08:33:57 pm
Got around this by simply not trying to commit everything at once.  When creating a sprite collection I basically have to add one selection of sprites at a time, commit, and repeat.
Haven't had crashes of Unity myself, but it did hang itself up a couple of times (and even my system twice) when I was working a lot with Unity3D and 2D toolkit. If the 'save much weep less' is the reason, I guess I'll save less and hope not to weep more ;-)
Title: Re: Crash Help
Post by: unikronsoftware on November 11, 2013, 09:24:36 pm
You don't want to add everything into one sprite collection - Unity is a 32 bit application and will eventually crash when importing too many sprites at a time. Adding a few at a time can really help here.
Title: Re: Crash Help
Post by: artician on November 11, 2013, 09:28:29 pm
You don't want to add everything into one sprite collection - Unity is a 32 bit application and will eventually crash when importing too many sprites at a time. Adding a few at a time can really help here.

Thanks, I'm finding that the problem continues to persist when simply commiting a settings change for pixel-per-meter.  I forget often that it's only 32bit.  My images are quite large.

So you're recommending that I create multiple collections with a few animations within each?  Even though they're all for one character?  Is that right?
Title: Re: Crash Help
Post by: unikronsoftware on November 11, 2013, 09:29:34 pm
Yes, with large images its definitely a good idea to split it into multiple collections manually rather than using atlas spanning.
Title: Re: Crash Help
Post by: artician on November 11, 2013, 09:32:54 pm
Thank you for your reply!  This is very helpful.