This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
Tilesource and atlas with the same name causes bugs (DEF-2330) #697
Labels
blocker
An issue that is blocking further progress for users
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
The text was updated successfully, but these errors were encountered: