AtlasTexture not behaving as expected

Godot Version

4.4.stable

Question

Hello everyone !
I have a problem with the atlas texture resource. And it’s awful because if I do the same steps in a empty project, it works.

  1. Import an image (png in this case)
  2. Create a new resource > atlas texture
  3. Set the image as the texture for the atlas texture
  4. Edit region, select a relevant part
  5. Go into a either a TextureRect or a custom resource with an @export var sprite : Texture, set the texture atlas as the texture, make unique, edit region, select another relevant part
  6. Check back the atlas texture itself, see that its previously selected part of the image has changed
  7. Cry

So, as I said, in an empty project, with the same steps, it works. As far as I can tell, I’m using the same steps and method I used every other time I used an atlas texture. But here it doesn’t work anymore, specifically in this project.
Is there an option I unknowingly checked that ruins my attempts ? It has to be a global setting, since I’m starting from scratch, reimporting my initial spritesheet, re creating a new atlas texture etc. I just don’t remember touching the project settings further than setting the size of the screen and base pixel art settings (like in other past projects I did).
Any ideas ?

Thanks for reading me !

I’m crying myself, trying to get it to work on a meshinstance3d or decal. Works for me on texture rect though.

Have you compared the import settings of the image in both projects? Maybe irrelevant, just what came to mind.

1 Like

Alright, found the solution.

There are two dropdown for one element. When clicking on the first, on my screen, you need to scroll to get to the “make unique”. On the second it appears immediately. I managed to mess it up on one test and not the other :
Use the first dropdown !
Not the second.
There, solved. If someone can tell me why there are two different places to do that, and why one works when the second doesn’t it would be nice ! I’m curious now.

Thanks @johannamaj for the support :rainbow:

1 Like