SuperTiled2Unity icon indicating copy to clipboard operation
SuperTiled2Unity copied to clipboard

Sprite Atlas will not work in Unity 2019.3.14 URP

Open samvieten opened this issue 5 years ago • 8 comments

This issue will only occure if you use the "Use Sprite Atlas for Tiles" option. I put your example map in Unity and selected the sprite-default materia for better visibility: you can see the result in the picture below. Same happens with my own maps if I check "Use Sprite Atlas for Tiles". It is reproducable with Unity 2019.3.14f in URP (didn't test without URP)

spriteatlasissue

samvieten avatar May 25 '20 18:05 samvieten

I had the same issue. It is my solution.

  1. Export all assets from the current project.
  2. Create a new project.
  3. Import assets to the new project. You can try it.

stoneshih99 avatar Aug 13 '20 17:08 stoneshih99

My solution:

  1. In Project Settings -> Graphics, click the gear icon and click Reset;
  2. In the same window, click the Clear button;
  3. Reimport your tsx files.

Hope it helps!

nandovilla avatar Oct 26 '20 23:10 nandovilla

I had the same issue and recreating new project is not work for me wtih 2019 4.16f. And I disable the "use sprite atlas for tiles" to deal with it

Ruoh3kou avatar Jul 22 '21 04:07 Ruoh3kou

Hi I have same issue, solution from nandovilla did not helped. What could be other reason for not working Sprite Atlas ? Ok, I realized that the Sprite Atlas can be disabled, and simply use my own created in Unity should handle this. Thank you.

mpoul1 avatar Dec 09 '21 09:12 mpoul1

Hi there, @mpoul1. If you prefer to send me your project I can try to figure out why the sprite atlas options wasn't working for you. You can reach me at [email protected]. Thanks.

Seanba avatar Dec 09 '21 19:12 Seanba

Hi,

thank you for the support. Today I tryed to create brand new empty project in unity + imported your package SuperTiled2Unity + imported tiled data and everything worked perfectly also with Sprite Atlas. So seems I have to deep dive and look at my project and investigate more here why it is not working within my real project.

On 9 Dec 2021, at 20:16, Sean Barton @.***> wrote:

Hi there, @mpoul1 https://github.com/mpoul1. If you prefer to send me your project I can try to figure out why the sprite atlas options wasn't working for you. You can reach me at @.*** @.***>. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Seanba/SuperTiled2Unity/issues/139#issuecomment-990147645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOS3Z2G2ECHCPR6OZCVTX3UQD6BDANCNFSM4NJWCC2Q.

mpoul1 avatar Dec 10 '21 07:12 mpoul1

Hey, I'm currently experiencing this in my project. Did you ever come across the cause?

Zelxin avatar Mar 26 '24 02:03 Zelxin

Hi there, @Zelxin. I have not been able to reproduce the problem on my end but given that more folks are reporting issues with sprite atlases I am currently working on a new version of ST2U that doesn't try to do it's own atlasing. Instead, it will create sprites (that are used by tiles) in the source texture. I'll keep you posted.

Seanba avatar Mar 26 '24 16:03 Seanba