Hello Guest

Author Topic: Using PNG atlas format breaks collection  (Read 3228 times)

luniac

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 23
    • View Profile
Using PNG atlas format breaks collection
« on: November 23, 2014, 06:43:27 pm »
If I create a sprite and try to point to a sprite collection set to PNG format, I get a NULL error and a pink missing texture instead. What cases this?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Using PNG atlas format breaks collection
« Reply #1 on: November 23, 2014, 09:23:28 pm »
Not heard of this bug, please post a repro case for this and I'll investigate.

luniac

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Using PNG atlas format breaks collection
« Reply #2 on: November 27, 2014, 12:58:29 am »
Sure,

All i did was,

1) create sprite collection
2) drag some textures in there and commit
3) change atlas format to png
4) create a sprite and select created collection and some sprite, it gives error.

I got screenshots:
capture 1 shows how the sprite looks like with the error(i havent been able to recreate the pink null texture)
capture 2 shows the error message when creating a new sprite using the broken collection
capture 3 shows the inspector view of the messed up sprite
capture 4 shows what gets created when setting atlas format to PNG
capture 5 shows the sprite collection settings
capture 6 shows the Unity texture format output which fixes everything
« Last Edit: November 27, 2014, 01:00:39 am by luniac »