Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atlas Merging Tool not working #79473

Closed
jeadhz opened this issue Jul 14, 2023 · 9 comments · Fixed by #79678
Closed

Atlas Merging Tool not working #79473

jeadhz opened this issue Jul 14, 2023 · 9 comments · Fixed by #79678

Comments

@jeadhz
Copy link

jeadhz commented Jul 14, 2023

Godot version

4.1.stable

System information

Godot v4.1.stable - Windows 10.0.19045 - Vulkan (Compatibility) - Intel(R) HD Graphics 4600 (Intel Corporation; 20.19.15.5126) - Intel(R) Core(TM) i3-4330 CPU @ 3.50GHz (4 Threads)

Issue description

When I try to join 68 images of 128x128 resolution in an atlas it returns a transparent 1x1 image

I tried using few images and it doesn't work either

It doesn't work either with 16x16, 32x32, 64x64 resolutions

  • Google Translate :)

Steps to reproduce

2023-07-14.13-27-20.mp4

Minimal reproduction project

N/A

@rakkarage
Copy link
Contributor

rakkarage commented Jul 15, 2023

There is usually an extra step (setup or create tiles) between... Once u drag the png to the tileset you can either select Setup and click on tile(s) u want to include or click on ... and "create tiles".

I tried it with the extra step and seems to work. Maybe there could be some indication that tiles are not created or empty or something... (a clue is empty preview) or maybe if single tile should perform that extra step automatically?

@jeadhz
Copy link
Author

jeadhz commented Jul 15, 2023

It would be a good idea to do it automatically because it would be tedious to have to manually configure so many tiles.

@Brennanzuz
Copy link

Brennanzuz commented Jul 24, 2023

I am also having this issue on Godot v4.1.stable.official. Strangely, I managed to avoid this error by adding just 1 transparent pixel into the image, either by resizing or erasing a pixel or two. Then, the preview showed in the Atlas Merging Tool. So it seems that the Atlas Merging Tool only sees images with some difference in alpha as a valid atlas?

@jonathandw743
Copy link

I also have this problem, but creating the tiles does not change anything as creating tiles when there is only one tile causes no change.

@rakkarage
Copy link
Contributor

rakkarage commented Aug 26, 2023

Even after creating single tiles they not show up in tile atlas merge? Tested and they do for me... if they are solid tiles (no transparency) might be related to: #80870

@akien-mga akien-mga added this to the 4.2 milestone Aug 28, 2023
@jonathandw743
Copy link

I think #80943 closes this

@Levelleor
Copy link

Levelleor commented Oct 22, 2023

I am still experiencing this issue. After merging I get that 1x1 atlas (on the right) with no tiles (on the left).

image

4.1.2.stable

@AThousandShips
Copy link
Member

That's because this fix is not in 4.1.2, it will be cherry picked but has not been cherry picked yet, will hopefully be in 4.1.3

@bonsaipropaganda
Copy link

That's because this fix is not in 4.1.2, it will be cherry picked but has not been cherry picked yet, will hopefully be in 4.1.3

I believe this is probably correct. I was just having this issue and I was on 4.1, so I upgraded to 4.1.3 and then the atlas merging tool worked for me as it should. thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants