I should be able to have a tilesource and atlas with the same base name. Or the editor should detect it and prevent me from giving them the same name.
Actual behaviour
The generated texture of the tilesource and atlas overwrite each other. This causes some really weird bugs with missing textures.
Steps to reproduce
Create a tilesource named foo.tilesource
Create an atlas named foo.atlas
Create a tilemap using foo.tilesource
Create gameobject A and attach the tilemap
Create gameobject B and attach a sprite and assign it an image from the atlas
Build and run. Notice that either the tilemap isn't rendered
Remove gameobject A or B
Build again. Notice an error message similar to WARNING:RESOURCE: Resource not found: /_generated_e27b97ae.texturec
Expected behaviour
I should be able to have a tilesource and atlas with the same base name. Or the editor should detect it and prevent me from giving them the same name.
Actual behaviour
The generated texture of the tilesource and atlas overwrite each other. This causes some really weird bugs with missing textures.
Steps to reproduce
Create a tilesource named foo.tilesource Create an atlas named foo.atlas Create a tilemap using foo.tilesource Create gameobject A and attach the tilemap Create gameobject B and attach a sprite and assign it an image from the atlas Build and run. Notice that either the tilemap isn't rendered Remove gameobject A or B Build again. Notice an error message similar to WARNING:RESOURCE: Resource not found: /_generated_e27b97ae.texturec
similar issue https://github.com/defold/editor2-issues/issues/660
https://github.com/defold/editor2-issues/issues/2143
with this issue I can’t nicely organize naming in the project :(