Author Topic: TP Import Atlas Bug  (Read 4258 times)

i_am_kisly

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 7
    • View Profile
TP Import Atlas Bug
« on: April 12, 2016, 03:54:26 PM »
Good afternoon, I have a problem with the import of texture atlases. Despite the correct coordinates, the frames are shifted (offset is not correct). For example (gui of popular Korean games), I put my atlas and its description in TXT format. Screenshots of the problem below.

atlas - https://dropmefiles.com/YZufd (The files are available within 14 days from 13/04/2016.)

To reproduce the problem, I took a different frame size, aspect ratio and 512x512 square filled them.
(clickable links)


How do I fix this problem?
PS // If you import as standard Multiple Atlas frames that are recognized correctly.
« Last Edit: April 12, 2016, 04:17:32 PM by i_am_kisly »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TP Import Atlas Bug
« Reply #1 on: April 13, 2016, 07:52:08 AM »
Make sure that the texture is imported at its correct size and isn't getting resized.

That said, there is no need to use the texture packer workflow. You can create your atlas in Unity by using the Atlas Maker tool. Just select all the textures you want in there and add them to the atlas.

i_am_kisly

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: TP Import Atlas Bug
« Reply #2 on: April 13, 2016, 02:27:34 PM »
I do not know how it works. I downloaded unitypackage from github. Then texsturepatsker -> process to sprite. And it worked. Mystic.