Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bohdon

Pages: [1]
1
Support / Sprite Collection Leak?
« on: February 07, 2012, 05:44:32 pm »
I've been getting a lot of crashes when dealing with a good amount of large sprite collections.  Watching my system's memory, it seems like every time I pack a new sprite collection atlas, or even just select a sprite collection in the hierarchy the textures it's using are thrown into memory, but they never seem to leave.  I've got around 15 collections, each with a few 2048 atlases that they generate. The source textures (that are packed) are all very large as well.  If I mess around with about 5 or 6 of these collections actively my memory starts hitting its wall (Unity at ~2.5gb).  I'm wondering if there's something I can do to get collections to release their textures without restarting Unity (my current workaround).

Thanks!

2
Support / Re: Layer / Z-Order?
« on: February 07, 2012, 12:58:43 am »
We used a Render Queue Modifier script we made to change the renderQueue property of an object's material at run time.  Each modifier can be associated with a group so that you could easily change the depth of a group of objects.  Downfall is that you have to do the group sorting manually, but it works really effectively, no glitching and we use perspective cameras with completely flat characters.  We'll likely be putting up the Render Queue scripts on the asset store soon if people are interested...

Pages: [1]